feature: remove change password for admin

This commit is contained in:
antv
2026-07-08 13:45:23 +07:00
parent 6056e33ef8
commit 7d9ba527a3
5 changed files with 32 additions and 7 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ class AdminService implements AdminServiceInterface
'status' => User::STATUS_ACTIVE,
'card' => 0,
'flag_send' => User::FLAG_SEND_DISABLED,
'first_login' => User::FIRST_LOGIN_TRUE,
'first_login' => $data['role'] == User::ROLE_ADMIN ? User::FIRST_LOGIN_FALSE : User::FIRST_LOGIN_TRUE,
]);
}