Fixed alert message, alert if email is not verified
This commit is contained in:
@@ -33,7 +33,7 @@ class ApplicationController < ActionController::Base
|
||||
def verified_user!
|
||||
if user_signed_in?
|
||||
unless current_user.verified?
|
||||
flash[:notice] = "Please verify your email!"
|
||||
flash[:alert] = "Verify your email!"
|
||||
redirect_to profile_path
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user