Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit ac4b6bc

Browse files
Merge pull request #174 from EmlynK/develop
Clear Drupal's cache between updating the username of user 1 and sett…
2 parents d90a1ac + 4c397ef commit ac4b6bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drupal/Drupal.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,7 @@ def secure_admin_password(repo, branch, build, site, drupal_version):
573573
run('drush sqlq "UPDATE users_field_data SET name = \'%s\' WHERE uid = 1"' % u1name)
574574
else:
575575
run('drush sqlq "UPDATE users SET name = \'%s\' WHERE uid = 1"' % u1name)
576+
drush_clear_cache(repo, branch, build, site, drupal_version)
576577
run("drush upwd %s --password='%s'" % (u1name, u1pass))
577578

578579

0 commit comments

Comments
 (0)