summaryrefslogtreecommitdiff
path: root/sql-files/convert_passwords.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql-files/convert_passwords.sql')
-rw-r--r--sql-files/convert_passwords.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql-files/convert_passwords.sql b/sql-files/convert_passwords.sql
new file mode 100644
index 000000000..6d2521e56
--- /dev/null
+++ b/sql-files/convert_passwords.sql
@@ -0,0 +1,3 @@
+# Convert passwords to MD5 hashes
+
+UPDATE `login` SET `user_pass`=MD5(`user_pass`);