feat: kolom phone di manajemen user (tampil di tabel, input modal, validasi regex) + FIX bug: catch-all exception handler mengubah ValidationException jadi 500 (kini redirect+error normal)

This commit is contained in:
Sari
2026-08-03 09:30:14 +07:00
parent 2e7ab00c31
commit f5a80fd4e2
6 changed files with 123 additions and 6 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ class User extends Authenticatable
public const ROLES = ['admin', 'bk', 'wali_kelas', 'staff', 'other', 'kepala_sekolah', 'waka_kesiswaan', 'ketua_tim'];
protected $fillable = [
'name', 'username', 'email', 'password', 'role', 'roles', 'is_active',
'name', 'username', 'email', 'phone', 'password', 'role', 'roles', 'is_active',
];
protected $hidden = ['password', 'remember_token'];