Skip to content
Snippets Groups Projects
Unverified Commit 8fcb80a7 authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Fixed issue causing 500 for unautheticated users (#2515)

parent 5b52489d
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment