- 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) |
||
|---|---|---|
| .. | ||
| AuthController.php | ||
| BookingController.php | ||
| DeviceTokenController.php | ||
| FavoriteController.php | ||
| KontrakanController.php | ||
| LaundryController.php | ||
| ReviewController.php | ||
| SAWController.php | ||