fix user password bug
This commit is contained in:
@@ -43,7 +43,6 @@ class User(AbstractUser, BaseModel):
|
||||
return f'{self.username} {self.last_name}-{self.last_login}'
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
self.password = make_password(self.password)
|
||||
super(User, self).save(*args, **kwargs)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user