redirects to managed user sign in path unless verified
This commit is contained in:
@@ -34,7 +34,7 @@ class Management::ProposalsController < Management::BaseController
|
||||
|
||||
def check_verified_user
|
||||
unless current_user.level_two_or_three_verified?
|
||||
redirect_to management_root_path, alert: t("management.proposals.alert.unverified_user")
|
||||
redirect_to management_document_verifications_path, alert: t("management.proposals.alert.unverified_user")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user