diff --git a/app/controllers/verification/email_controller.rb b/app/controllers/verification/email_controller.rb index d9172a239..5e06c8e04 100644 --- a/app/controllers/verification/email_controller.rb +++ b/app/controllers/verification/email_controller.rb @@ -26,7 +26,10 @@ class Verification::EmailController < ApplicationController @email.encrypted_token, @verified_user.document_type, @verified_user.document_number).deliver_later + ###CHANGE ME + #we should not have access to the account_page of a managed_user redirect_to account_path, notice: t('verification.email.create.flash.success', email: @verified_user.email) + ### else redirect_to verified_user_path, alert: t('verification.email.create.alert.failure') end