Commit 7d362b41 authored by Rémy Coutable's avatar Rémy Coutable

Resolve conflict in app/controllers/application_controller.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 5e9c501d
......@@ -204,12 +204,7 @@ class ApplicationController < ActionController::Base
end
def check_password_expiration
<<<<<<< HEAD
return if session[:impersonator_id] || !current_user&.allow_password_authentication?
=======
return if session[:impersonator_id]
return unless current_user&.allow_password_authentication?
>>>>>>> origin/master
password_expires_at = current_user&.password_expires_at
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment