Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
MKCLOS
Core Development Platform
corepkgv2
Commits
3ff30016
Commit
3ff30016
authored
6 years ago
by
Ajit Jagtap
Browse files
Options
Downloads
Plain Diff
Merge branch 'Roshanp-BugFixRouterbuilder' into 'devbranch'
router builder bug fix See merge request
!57
parents
42c0bf37
d0bd6b36
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!57
router builder bug fix
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
routebuildermdl/routebuildermdl.go
+1
-1
routebuildermdl/routebuildermdl.go
with
1 addition
and
1 deletion
routebuildermdl/routebuildermdl.go
+
1
−
1
View file @
3ff30016
...
...
@@ -165,7 +165,7 @@ func RoleBasedHandler(c *gin.Context) {
func
extractPricipalObject
(
c
*
gin
.
Context
)
(
servicebuildermdl
.
Principal
,
error
)
{
principal
:=
servicebuildermdl
.
Principal
{}
if
jwtmdl
.
GlobalJWTKey
==
""
{
return
principal
,
nil
return
principal
,
errormdl
.
Wrap
(
"No Global JWT key found"
)
}
claim
,
decodeError
:=
jwtmdl
.
DecodeToken
(
c
.
Request
)
if
errormdl
.
CheckErr
(
decodeError
)
!=
nil
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets