Commit 646a46c1 authored by kaiyou's avatar kaiyou

Simple cosmetic changes

parent 75b6cb27
Pipeline #367 passed with stage
in 21 minutes and 32 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