test
This commit is contained in:
1 parent
b53d761f49
commit
0310307fec
1 file changed
+1
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user