forked from Trustie/forgeplus
fix: default profile completed
This commit is contained in:
parent
64dd4dced7
commit
2d1d0495c9
|
|
@ -767,7 +767,8 @@ class User < Owner
|
|||
end
|
||||
|
||||
def profile_is_completed?
|
||||
self.nickname.present? && self.gender.present? && self.mail.present? && self.custom_department.present?
|
||||
# self.nickname.present? && self.gender.present? && self.mail.present? && self.custom_department.present?
|
||||
true
|
||||
end
|
||||
|
||||
protected
|
||||
|
|
|
|||
Loading…
Reference in New Issue