From 3eb737041b638273383ad4f2a8fbde58fe6412c5 Mon Sep 17 00:00:00 2001 From: Attack825 <2707138687@qq.com> Date: Fri, 15 Aug 2025 22:39:19 +0800 Subject: [PATCH] fix: restore accidentally removed fields in User class --- src/casdoor/user.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/casdoor/user.py b/src/casdoor/user.py index c8337e9..63dd153 100644 --- a/src/casdoor/user.py +++ b/src/casdoor/user.py @@ -159,6 +159,9 @@ def __init__(self): self.mfaPhoneEnabled = False self.mfaEmailEnabled = False + self.invitation = "" + self.invitationCode = "" + self.ldap = "" self.properties = {}