mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
random_api_key, the function we use to generate random tokens for API keys, has been moved to zerver/lib/utils.py because it's used in more parts of the codebase (apart from user creation), and having it in zerver/lib/create_user.py was prone to cyclic dependencies. The function has also been renamed to generate_api_key to have an imperative name, that makes clearer what it does.
6.3 KiB
6.3 KiB