diff --git a/app/controllers/verification_controller.rb b/app/controllers/verification_controller.rb index 6d1945af4..adb3ee345 100644 --- a/app/controllers/verification_controller.rb +++ b/app/controllers/verification_controller.rb @@ -11,7 +11,9 @@ class VerificationController < ApplicationController private def next_step_path(user = current_user) - if user.level_three_verified? + if user.organization? + { path: account_path } + elsif user.level_three_verified? { path: account_path, notice: t('verification.redirect_notices.already_verified') } elsif user.verification_letter_sent? { path: edit_letter_path } diff --git a/app/views/account/show.html.erb b/app/views/account/show.html.erb index d580052e2..b1382ce4c 100644 --- a/app/views/account/show.html.erb +++ b/app/views/account/show.html.erb @@ -1,22 +1,22 @@
- - <%= t("account.show.verified_account") %> -
- <% elsif current_user.level_two_verified? %> - <%= link_to t("account.show.finish_verification"), verification_path, class: "button radius small success right" %> - <% else %> - <%= link_to t("account.show.verify_my_account"), verification_path, class: "button radius small success right" %> - <% end %> - -+ + <%= t("account.show.verified_account") %> +
+ <% elsif current_user.level_two_verified? %> + <%= link_to t("account.show.finish_verification"), verification_path, class: "button radius small success right" %> + <% else %> + <%= link_to t("account.show.verify_my_account"), verification_path, class: "button radius small success right" %> + <% end %> + +