master #1

Merged
lino.jorzick merged 203 commits from External/greenlight:master into master 2021-10-02 18:19:43 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 4f3c7db82a - Show all commits

View File

@ -89,7 +89,7 @@ class SessionsController < ApplicationController
return redirect_to(root_path, alert: I18n.t("invalid_login_method")) unless user.greenlight_account? return redirect_to(root_path, alert: I18n.t("invalid_login_method")) unless user.greenlight_account?
# Check that the user has verified their account # Check that the user has verified their account
unless user.activated? unless user.activated?
user.create_activation_token user.create_activation_token if user.activation_digest.nil?
return redirect_to(account_activation_path(digest: user.activation_digest)) return redirect_to(account_activation_path(digest: user.activation_digest))
end end
end end