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
646a46c1
Commit
646a46c1
authored
Nov 29, 2019
by
kaiyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simple cosmetic changes
parent
75b6cb27
Pipeline
#367
passed with stage
in 21 minutes and 32 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 @
646a46c1
...
...
@@ -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