Commit 2876cc35 authored by kaiyou's avatar kaiyou Committed by Yoann Ono Dit Biot

Simple cosmetic changes

parent 52562305
Pipeline #654 passed with stage
in 21 minutes and 19 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment