Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ai3
accountserver
Commits
0bb1804b
Commit
0bb1804b
authored
Oct 27, 2018
by
ale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log SSO validation errors
parent
0cfa506b
Pipeline
#1404
passed with stages
in 1 minute and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
service.go
service.go
+1
-0
No files found.
service.go
View file @
0bb1804b
...
...
@@ -224,6 +224,7 @@ func (s *authService) authorizeUser(ctx context.Context, tx TX, req RequestBase)
// username (or that the SSO ticket has admin permissions).
tkt
,
err
:=
s
.
validateSSO
(
req
.
SSO
)
if
err
!=
nil
{
log
.
Printf
(
"SSO validation error: %s"
,
err
)
return
nil
,
nil
,
newAuthError
(
err
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment