mirror of https://github.com/zulip/zulip.git
Use fast password hashing when replying old messages locally.
Without this change, one can only create a few users per second(!), which really puts a damper on quickly importing old messages. (imported from commit 26daf61b57154daa067db3daf8254c12d23da353)
This commit is contained in:
parent
b2ce9aaa18
commit
afd141a03e
|
@ -213,3 +213,9 @@ else:
|
|||
# For testing, you may want to have emails be printed to the console.
|
||||
if not deployed:
|
||||
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||
|
||||
# Use fast password hashing for creating testing users when not
|
||||
# deployed
|
||||
PASSWORD_HASHERS = (
|
||||
'django.contrib.auth.hashers.SHA1PasswordHasher',
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue