GL2-XX: updated gems (#2613)

* GL2-XX: updated gems

* fixed rubocop from one of the previos PRs

* dos2unix on .github/workflows/main.yml
This commit is contained in:
Jesus Federico
2021-03-25 17:29:04 -04:00
committed by GitHub
parent 4f3c7db82a
commit 3d887d2393
3 changed files with 86 additions and 89 deletions

View File

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