https://github.com/avinashn/laravel-adminlte-withlogin
A basic Laravel 5.6 project with AdiminLTE integrated with a custom login functionality
https://github.com/avinashn/laravel-adminlte-withlogin
admin-dashboard adminlte adminlte-template custom-login laravel laravel56
Last synced: 11 months ago
JSON representation
A basic Laravel 5.6 project with AdiminLTE integrated with a custom login functionality
- Host: GitHub
- URL: https://github.com/avinashn/laravel-adminlte-withlogin
- Owner: avinashn
- Created: 2019-01-18T05:02:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-18T05:48:49.000Z (over 7 years ago)
- Last Synced: 2025-03-14T01:14:24.060Z (over 1 year ago)
- Topics: admin-dashboard, adminlte, adminlte-template, custom-login, laravel, laravel56
- Language: HTML
- Size: 16 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# laravel-adminLte-withLogin
A basic Laravel 5.6 project with AdiminLTE integrated with a custom login functionality
## Prerequisites
- After cloning this repository, go to the root folder, run the following command/s,
composer install
composer update - Rename .env.example to .env and provide your database details there.
- Import the sql file located at /resources/assets/super_admin.sql
## Running the project
- Open `/admin` route on the browser(http://localhost:8000/admin - or whatever it is)
- Enter the user name as 'super_admin' and password as 'super_admin'
## Changing the salt for the encrypted password
Open .env file and change the salt to what ever you want
## Change the password
Enter a password you want in the form and `dd(sha1($salt.$password));` at \app\Traits\LoginTrait.php at line 18, and save the hash as you password in the table :D :P
Alternatively you can create a registration form and then hash the entered password as `sha1($salt.$password)` and save it in the database.