mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 20:56:08 +10:00
current_user.confirmed_at.present? => current_user.confirmed?
This commit is contained in:
@@ -38,7 +38,7 @@ class RegistrationsController < Devise::RegistrationsController
|
||||
end
|
||||
|
||||
def after_sign_up_path_for(user)
|
||||
user.confirmed_at.present? ? dashboard_projects_path : users_almost_there_path
|
||||
user.confirmed? ? dashboard_projects_path : users_almost_there_path
|
||||
end
|
||||
|
||||
def after_inactive_sign_up_path_for(_resource)
|
||||
|
||||
Reference in New Issue
Block a user