Fix password type identifications
authorMagnus Hagander <magnus@hagander.net>
Sat, 26 Sep 2020 15:50:44 +0000 (17:50 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sat, 26 Sep 2020 15:50:44 +0000 (17:50 +0200)
commit25675b147982bc51a5af0029216c67ab3c87b09d
treef8f3150a7e50e3adfb2c5eda931bfb8739a2017e
parenta6a860f0926d3398ab7e438c130d3e4b90e348ca
Fix password type identifications

Sha1's start with sha1$, not sha1_ (and this is not a SQL LIKE match).
And fix parameters when calling re.match in the unmatched case.
pgweb/account/admin.py