Changeset 0290330 for asadb/groups

Timestamp:
Dec 24, 2012, 3:28:00 AM (13 years ago)
Author:
MIT Association of Student Activities <asa@…>
Branches:
master, space-access, stable, stage
Children:
d0c7563
Parents:
161ce5f
git-author:
Alex Dehnert <adehnert@…> (12/24/12 03:28:00)
git-committer:
MIT Association of Student Activities <asa@…> (12/24/12 03:28:00)
Message:

Set a password of UNUSABLE_PASSWORD

  • Changes ScriptsRemoteUserBackend?'s configure_user method to set the default password to UNUSABLE_PASSWORD instead of ScriptsSSLAuth. UNUSABLE_PASSWORD displays in the admin as "Password: None", instead of an ugly error message. This should fix "Unknown password hashing algorithm" errors for users correctly created in the future. (ASA-#132)
  • Adds a migration to change current users with passwords of "" or "ScriptsSSLAuth" to a password of UNUSABLE_PASSWORD ("!"). This will fix ASA-#132 and the symptoms of ASA-#133 for already-existent users.
File:
1 added

Note: See TracChangeset for help on using the changeset viewer.