]> snippets.scripts.mit.edu Git - Scripts/git/.git/commitdiff
Set a password of UNUSABLE_PASSWORD
authorAlex Dehnert <adehnert@mit.edu>
Mon, 24 Dec 2012 08:28:00 +0000 (03:28 -0500)
committerMIT Association of Student Activities <asa@mit.edu>
Mon, 24 Dec 2012 08:28:00 +0000 (03:28 -0500)
* 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.


No differences found