mirror of https://github.com/zulip/zulip.git
bf7fc5701f
A utility command to enable or disable certain authentication backends for a realm from the command line. Can be helpful e.g. if the administrator accidentally disables some auth methods in the UI leaving themselves with none remaining that they could actually use to log back into the organization. Example usage: ``` (zulip-py3-venv) vagrant@c32c137f59a0:/srv/zulip$ ./manage.py change_auth_backends -r zulip --show Current authentication backends for the realm: Enabled backends: Dev Email GitHub GitLab Google Apple SAML OpenID Connect (zulip-py3-venv) vagrant@c32c137f59a0:/srv/zulip$ ./manage.py change_auth_backends -r zulip --disable GitHub Disabling GitHub backend for realm Zulip Dev Updated authentication backends for the realm: Enabled backends: Dev Email GitLab Google Apple SAML OpenID Connect Disabled backends: GitHub Done! (zulip-py3-venv) vagrant@c32c137f59a0:/srv/zulip$ ./manage.py change_auth_backends -r zulip --enable GitHub Enabling GitHub backend for realm Zulip Dev Updated authentication backends for the realm: Enabled backends: Dev Email GitHub GitLab Google Apple SAML OpenID Connect Done! ``` |
||
---|---|---|
.. | ||
commands | ||
data | ||
__init__.py |