forked from External/greenlight
This reverts commit 404134aa8d
.
This commit is contained in:
@ -32,11 +32,7 @@ module SessionsHelper
|
||||
# If email verification is disabled, or the user has verified, go to their room
|
||||
def check_email_verified(user)
|
||||
if !Rails.configuration.enable_email_verification || user.email_verified
|
||||
if request.referrer.present?
|
||||
redirect_to request.referrer
|
||||
else
|
||||
redirect_to user.main_room
|
||||
end
|
||||
redirect_to user.main_room
|
||||
else
|
||||
redirect_to resend_path
|
||||
end
|
||||
|
Reference in New Issue
Block a user