Forces validation on Account.set_password() and provides an Account.validate_password() method to validate passwords.
This commit is contained in:
parent
ddf01d1631
commit
c8c9e831ee
4 changed files with 98 additions and 3 deletions
|
|
@ -821,7 +821,7 @@ AUTH_PASSWORD_VALIDATORS = [
|
|||
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
|
||||
},
|
||||
{
|
||||
'NAME': 'evennia.contrib.security.validators.EvenniaPasswordValidator',
|
||||
'NAME': 'evennia.server.validators.EvenniaPasswordValidator',
|
||||
},
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue