Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ai3
accountserver
Commits
0bb1804b
Commit
0bb1804b
authored
Oct 27, 2018
by
ale
Browse files
Log SSO validation errors
parent
0cfa506b
Changes
1
Show whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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