Reputation: 37
I am using the great charima bundle to the laravel framework 3.2
.
How can I add a login page to the /admin
page?
Upvotes: 0
Views: 236
Reputation: 9007
Charisma is not an administration panel in itself. It is simply a user-interface (or theme, whichever you prefer) that you can use for your own administration panel. You will need to build your own panel that makes use of it.
Please consider looking at the Laravel Auth Usage Documentation for further information on using authentication and protecting your admin route.
Route::get('admin', array('before' => 'auth', function() {}));
Upvotes: 1