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