- Create new 'admins' table with role column (admin/super_admin) - Create Admin model for admin authentication - Add AdminSeeder with test data (super_admin, admin) - Update config/auth.php with dual guards (web for users, admin for admins) - Update AdminAuthController to use Admin model and 'admin' guard - Remove role column from users table (users have no role) - Update register validation messages in Indonesian - Now same email can be used by user and admin (separate tables) |
||
|---|---|---|
| .. | ||
| ActivityLog.php | ||
| Admin.php | ||
| AdminDeviceToken.php | ||
| Booking.php | ||
| Favorite.php | ||
| Galeri.php | ||
| Kontrakan.php | ||
| Kriteria.php | ||
| Laundry.php | ||
| LayananLaundry.php | ||
| Review.php | ||
| User.php | ||