Fix #390 - fix redirect after sign-up (to login page instead of homepage)
This commit is contained in:
1 parent
18f59df09e
commit
1bbcd71cd4
2 files changed
+6
-2
No files matched your search
@@ -23,6 +23,10 @@ class Auth::RegistrationsController < Devise::RegistrationsController
|
||||
new_user_session_path
|
||||
end
|
||||
|
||||
def after_inactive_sign_up_path_for(_resource)
|
||||
new_user_session_path
|
||||
end
|
||||
|
||||
def check_single_user_mode
|
||||
redirect_to root_path if Rails.configuration.x.single_user_mode
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user