Skip to content

Commit

Permalink
Another fix for unverified accounts (bigbluebutton#2609)
Browse files Browse the repository at this point in the history
  • Loading branch information
farhatahmad authored Mar 24, 2021
1 parent c24f3c2 commit 4f3c7db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/sessions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def create
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
user.create_activation_token if user.activation_digest.nil?
return redirect_to(account_activation_path(digest: user.activation_digest))
end
end
Expand Down

0 comments on commit 4f3c7db

Please sign in to comment.