Skip to content

A basic Laravel 5.6 project with AdiminLTE integrated with a custom login functionality

Notifications You must be signed in to change notification settings

avinashn/laravel-adminLte-withLogin

Repository files navigation

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.

About

A basic Laravel 5.6 project with AdiminLTE integrated with a custom login functionality

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published