Commit Graph

1 Commits

Author SHA1 Message Date
micko samawa 585d36fe09 feat: Separate admin and user tables for independent authentication
- 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)
2026-05-18 20:50:22 +07:00