zulip/zephyr
Luke Faraone 37edb61b67 Don't set an unusable password during deactivation.
This would have made reactivations hard, and doesn't really buy us much
additional security.

During deactivation, all a user's current sessions are deactivated and
they are marked as not active. This prevents them from logging in via
the web UI, and makes their API key unusable.

Randomizing their password is probably gratuitious, especially as we
start to allow authorized end-users to deactivate others.

(imported from commit c63d23816da0452a1df821f2fa6c1db2761733da)
2013-07-08 14:00:19 -04:00
..
fixtures Support JIRA workflow post-function web hooks 2013-05-24 21:23:56 -04:00
lib Don't set an unusable password during deactivation. 2013-07-08 14:00:19 -04:00
management Add populate_db support for deactivating users. 2013-07-08 14:00:19 -04:00
migrations [schema] Use custom stopwords file for full text search 2013-06-27 14:18:53 -04:00
static Perform JS validation of the login form. 2013-07-08 14:00:19 -04:00
tests Put spaces after "function" in JS code (cosmetic). 2013-07-05 16:32:32 -04:00
__init__.py Initial Django commit: basic account, zephyr stream, narrowing, etc. 2012-08-28 12:44:51 -04:00
context_processors.py [manual] Use ujson instead of simplejson. 2013-06-24 10:17:10 -04:00
decorator.py Block API usage by deactivated users. 2013-07-08 14:00:19 -04:00
exceptions.py Add a rate limiting system to our backend 2013-06-04 09:43:09 -04:00
filters.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
finders.py Collect static files directly in the location that will be served 2013-06-12 17:46:38 -04:00
forms.py Remove unused imports 2013-06-27 16:22:39 -04:00
handlers.py Remove unused imports 2013-06-27 16:22:39 -04:00
middleware.py Fix buggy logging of database query time. 2013-06-28 15:57:28 -04:00
models.py models: remove outdated tutorial comment. 2013-07-02 18:26:18 -04:00
openid.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
retention_policy.py Enable absolute imports. 2013-04-23 09:51:17 -07:00
static_header.txt Prepend the minified static file header using a custom Storage class 2013-06-12 17:46:38 -04:00
storage.py Create minified_assets.json in the deployment root 2013-06-24 15:55:04 -04:00
tests.py Support deactivate_bot API. 2013-07-05 14:09:32 -04:00
tornado_callbacks.py Actually test callbacks in GetUpdatesTest. 2013-07-02 10:50:02 -04:00
tornadoviews.py Remove unused imports 2013-06-27 16:22:39 -04:00
views.py Support deactivate_bot API. 2013-07-05 14:09:32 -04:00