fix: default profile completed

This commit is contained in:
yystopf 2022-04-02 14:22:20 +08:00
parent 64dd4dced7
commit 2d1d0495c9
1 changed files with 2 additions and 1 deletions

View File

@ -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