fix: set last_username_change default when creating users

This commit is contained in:
root
2026-06-24 12:15:37 +02:00
parent bc8f2111b5
commit 9ac93ef299
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -73,6 +73,7 @@ class CreateNewUser implements CreatesNewUsers
'home_room' => (int) (is_string($hotelHomeRoomSetting) ? $hotelHomeRoomSetting : '0'),
'ip_register' => $ip,
'ip_current' => $ip,
'last_username_change' => 0,
]);
$user->update([