Fix admin/new manager page
This commit is contained in:
parent
25dad37604
commit
378443eb5b
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class Administrateur < ApplicationRecord
|
|||
end
|
||||
|
||||
def email
|
||||
user.email
|
||||
user&.email
|
||||
end
|
||||
|
||||
# validate :password_complexity, if: Proc.new { |a| Devise.password_length.include?(a.password.try(:size)) }
|
||||
|
|
Loading…
Add table
Reference in a new issue