Guest User

Untitled

a guest
Sep 29th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. <?
  2. // run this in php artisan tinker (enter it line by line) to chage the pw
  3.  
  4. // select whatever user you want to edit.
  5. $user = \App\User::where('id', 1)->firstOrFail();
  6. $user->password = Hash::make('Your New Password');
  7. $user->save();
Add Comment
Please, Sign In to add comment