summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-08-22 10:04:39 +0200
committerYorhel <git@yorhel.nl>2011-08-22 10:04:39 +0200
commitaf7dec7a5e74137c6236364bbab6184f1e971954 (patch)
tree451fc215cd8b6d3e6e421942bcdc11b23425b7a7 /util
parent3e50a783a073ba8359b221f7d9a8071e23ade967 (diff)
Removed support for pre-2.6 passwords
Users who haven't logged in since 2009-08-09 will find that their passwords have been reset. They need to use the password recovery feature before logging in again.
Diffstat (limited to 'util')
-rw-r--r--util/updates/update_2.21.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/updates/update_2.21.sql b/util/updates/update_2.21.sql
index b99a4ba6..d90a510d 100644
--- a/util/updates/update_2.21.sql
+++ b/util/updates/update_2.21.sql
@@ -2,3 +2,7 @@
-- New resolution added on index 5
UPDATE releases_rev SET resolution = resolution + 1 WHERE resolution >= 5;
+
+-- Old MD5 passwords can't be used anymore, so delete them
+UPDATE users SET passwd = '' WHERE salt = '';
+