Mercurial > p > roundup > code
diff roundup/cgi/actions.py @ 7163:0b52ee664580
tests are breaking with last commit. Restore a hopefully working tree while I figure out what's going on
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 24 Feb 2023 00:37:37 -0500 |
| parents | cfdcaf8b5936 |
| children | 970cd6d2b8ea |
line wrap: on
line diff
--- a/roundup/cgi/actions.py Thu Feb 23 19:34:39 2023 -0500 +++ b/roundup/cgi/actions.py Fri Feb 24 00:37:37 2023 -0500 @@ -1399,8 +1399,7 @@ db = self.db stored = db.user.get(userid, 'password') if givenpw == stored: - if (db.config.WEB_MIGRATE_PASSWORDS and - stored.needs_migration(config=db.config)): + if db.config.WEB_MIGRATE_PASSWORDS and stored.needs_migration(): newpw = password.Password(givenpw, config=db.config) db.user.set(userid, password=newpw) db.commit()
