Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
592e4781
Commit
592e4781
authored
Sep 11, 2018
by
James Edwards-Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Group SAML test button errors return to form
parent
1978e6d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
ee/app/controllers/groups/omniauth_callbacks_controller.rb
ee/app/controllers/groups/omniauth_callbacks_controller.rb
+7
-0
No files found.
ee/app/controllers/groups/omniauth_callbacks_controller.rb
View file @
592e4781
...
...
@@ -28,6 +28,13 @@ class Groups::OmniauthCallbacksController < OmniauthCallbacksController
redirect_to
after_sign_in_path_for
(
current_user
)
end
override
:redirect_identity_link_failed
def
redirect_identity_link_failed
(
error_message
)
flash
[
:notice
]
=
"SAML authentication failed:
#{
error_message
}
"
redirect_to
after_sign_in_path_for
(
current_user
)
end
override
:after_sign_in_path_for
def
after_sign_in_path_for
(
resource
)
saml_redirect_path
||
super
...
...
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