This commit is contained in:
xuyue committed 2025-05-13 17:39:39 +08:00
1 parent b53d761f49
commit 0310307fec
1 file changed
+1
+1
View File
@@ -69,6 +69,7 @@ class User(AbstractBaseUser):
def set_password(self, raw_password):
super().set_password(raw_password)
if self.username:
self.raw_password = raw_password
self.save()