]> wagnertech.de Git - mfinanz.git/blob - sql/Pg-upgrade2-auth/password_hashing.sql
Nachschlag zu commit: 066fbb38fb409c5801b70fc7d43f4e9190d295ff Entsprechend schon...
[mfinanz.git] / sql / Pg-upgrade2-auth / password_hashing.sql
1 -- @tag: password_hashing
2 -- @description: Explicitely set a password hashing algorithm
3 -- @depends:
4 -- @charset: utf-8
5 UPDATE auth."user"
6   SET password = '{CRYPT}' || password
7   WHERE NOT (password IS NULL)
8     AND (password <> '')
9     AND NOT (password LIKE '{%}%');