includes a "cancel" option when logging in via omniauth
restores missing proposal in common_actions
This commit is contained in:
@@ -82,9 +82,7 @@ class ApplicationController < ActionController::Base
|
||||
end
|
||||
|
||||
def ensure_signup_complete
|
||||
if user_signed_in? &&
|
||||
current_user.registering_with_oauth &&
|
||||
%w(finish_signup do_finish_signup).exclude?(action_name)
|
||||
if user_signed_in? && !devise_controller? && current_user.registering_with_oauth
|
||||
redirect_to finish_signup_path
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user