Commit 03c5bb69 authored by kaiyou's avatar kaiyou Committed by Yoann Ono Dit Biot

Simple cosmetic changes

parent 6a88a5a2
Pipeline #659 passed with stage
in 22 minutes and 56 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
auth_setup_path(missing_email: '1')
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