diff --git a/app/controllers/concerns/authenticator.rb b/app/controllers/concerns/authenticator.rb index 8b1e27b3..16c330cc 100644 --- a/app/controllers/concerns/authenticator.rb +++ b/app/controllers/concerns/authenticator.rb @@ -58,7 +58,9 @@ module Authenticator redirect_to url else - redirect_to resend_path + session[:user_id] = nil + user.create_activation_token + redirect_to account_activation_path(digest: user.activation_digest) end end