Merge commit 'd258ec8e3b
' into kb_migration
This commit is contained in:
commit
33445ffeb2
6 changed files with 8 additions and 14 deletions
|
@ -33,7 +33,7 @@ class Auth::OmniauthCallbacksController < Devise::OmniauthCallbacksController
|
|||
|
||||
def after_sign_in_path_for(resource)
|
||||
if resource.email_present?
|
||||
root_path
|
||||
stored_location_for(resource) || root_path
|
||||
else
|
||||
auth_setup_path(missing_email: '1')
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue