Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
TeDomum
Mastodon
Commits
03c5bb69
Commit
03c5bb69
authored
Nov 29, 2019
by
kaiyou
Committed by
Yoann Ono Dit Biot
Mar 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simple cosmetic changes
parent
6a88a5a2
Pipeline
#659
passed with stage
in 22 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
app/controllers/auth/omniauth_callbacks_controller.rb
app/controllers/auth/omniauth_callbacks_controller.rb
+1
-2
No files found.
app/controllers/auth/omniauth_callbacks_controller.rb
View file @
03c5bb69
...
...
@@ -25,8 +25,7 @@ class Auth::OmniauthCallbacksController < Devise::OmniauthCallbacksController
def
after_sign_in_path_for
(
resource
)
if
resource
.
email_verified?
last_url
=
stored_location_for
(
:user
)
last_url
||
root_path
stored_location_for
(
:user
)
||
root_path
else
auth_setup_path
(
missing_email:
'1'
)
end
...
...
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