GRN2-xx: Cleaning up bugs that appeared after refactoring (#780)

* First step

* Fixed issues with update room
This commit is contained in:
Ahmad Farhat
2019-08-30 16:34:14 -04:00
committed by farhatahmad
parent d3b669d552
commit 666ee12988
3 changed files with 9 additions and 8 deletions

View File

@ -25,6 +25,8 @@ module Authenticator
session[:user_id] = user.id
logger.info("Support: #{user.email} has successfully logged in.")
# If there are not terms, or the user has accepted them, check for email verification
if !Rails.configuration.terms || user.accepted_terms
check_email_verified(user)