Skip to content

Commit 61c2684

Browse files
committed
Call read_dbpasswords outside of update_passwords function
This is consistent with all the other functions.
1 parent 49d3b67 commit 61c2684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/dj_setup_database.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ remove_db_users()
257257

258258
update_password()
259259
{
260-
read_dbpasswords
261260
(
262261
echo "ALTER USER '$domjudge_DBUSER'@'%' IDENTIFIED BY '$domjudge_PASSWD';"
263262
echo "FLUSH PRIVILEGES;"
@@ -352,6 +351,7 @@ create-db-users)
352351
;;
353352

354353
update-password)
354+
read_dbpasswords
355355
update_password
356356
;;
357357

0 commit comments

Comments
 (0)