Commit 6a379c1f authored by Ev Maslovskiy's avatar Ev Maslovskiy
Browse files

Issue #3313823: A lot of "Super-admin user was successfully blocked. Username...

Issue #3313823: A lot of  "Super-admin user was successfully blocked. Username and password were updated." in the logs
parent 585396cd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -108,7 +108,8 @@ class SuperAdminUser {
      $update_required = TRUE;
    }

    if (strpos('superadmin.blocked.', $super_admin_account->getAccountName()) !== 0) {
    // Ensure that super-admin username is randomized.
    if (!str_starts_with($super_admin_account->getAccountName(), 'superadmin.blocked.')) {
      $update_required = TRUE;
    }