Created
April 24, 2017 13:23
-
-
Save Luukyb/26e79d1fbc34d5d7381070833317f6b2 to your computer and use it in GitHub Desktop.
Set Laravel's user password, for development. Place the snippet in your app/routes.php file, on the homepage's route.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$user = User::find(27); | |
$user->password = Hash::make('test'); | |
$user->save(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment