forked from External/greenlight
GRN2-224: Added event logs and production caching (#739)
* Added event logs and production caching * Added Support: before logs for easy identification * Added more Support for log errors * Reverted change to assets precompile check * Added vendor assets to precompile list * Travis fix
This commit is contained in:
committed by
Jesus Federico
parent
f87c2bfd16
commit
89f36c1766
@ -23,6 +23,8 @@ module SessionsHelper
|
||||
|
||||
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)
|
||||
|
Reference in New Issue
Block a user