ungleich-user/dal
Sajeyks dad66040ed Keep passwords out of activation links
The activation link carried base64-encoded username, password, names
and email, so plaintext passwords ended up in mail archives, browser
history and proxy logs.

Registration now hashes the password to {SSHA} immediately and stores
it in a new PendingRegistration table (migration 0002). The emailed
link is /activate/<token>/ with a random token only, and activation
writes the stored hash into LDAP. Pending entries expire after 24h,
like reset tokens. This also drops the PseudoUser/token-generator
workaround.

Links in emails sent before deployment stop working; those users must
register again.
2026-11-06 15:02:41 +03:00
..
migrations Keep passwords out of activation links 2026-11-06 15:02:41 +03:00
static added red btn similar to blue one 2019-04-16 11:52:22 -04:00
templates Register add 2021-12-12 20:39:32 +01:00
tests Keep passwords out of activation links 2026-11-06 15:02:41 +03:00
__init__.py Move project files to root directory 2019-02-17 17:43:06 +01:00
env.sample Populate README, refresh configuration template 2020-05-01 11:07:29 +02:00
forms.py Ask for username instead of email for login, validate username on 2020-05-01 11:08:13 +02:00
models.py Keep passwords out of activation links 2026-11-06 15:02:41 +03:00
settings.py added rest framework conf 2019-05-05 17:16:14 -04:00
ungleich_ldap.py Keep passwords out of activation links 2026-11-06 15:02:41 +03:00
urls.py Keep passwords out of activation links 2026-11-06 15:02:41 +03:00
views.py Keep passwords out of activation links 2026-11-06 15:02:41 +03:00
wsgi.py Move project files to root directory 2019-02-17 17:43:06 +01:00