mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Use proper randomization when generating new API keys.
Previously we were generating API keys deterministically using a hash of the user's email address; this is clearly not a good long-term approach. (imported from commit 14d0c7c9edbc45b3ae1d17a43765ad9726338d4d)
This commit is contained in:
@@ -2,7 +2,7 @@ from __future__ import absolute_import
|
||||
|
||||
from django.conf import settings
|
||||
|
||||
from zephyr.lib.initial_password import initial_password, initial_api_key
|
||||
from zephyr.lib.initial_password import initial_password
|
||||
from zephyr.models import Realm, Stream, UserProfile, Huddle, \
|
||||
Subscription, Recipient, Client, Message, \
|
||||
get_huddle_hash
|
||||
|
||||
Reference in New Issue
Block a user