In my app there's a view that allows the logged in user to enter a new password. How am I to hash the new password? Using native Laravel Auth
I would just
Hash::make($input['password']);
is it the same for Sentry 2
? If it is, after performing a reset and updating the user table I get a WrongPasswordException
so I'm assuming the hash methods are different. If Sentry has it's own hash method, I sure can't find it.
Update: Apparently this method will work the same way and auto-save the user record, the docs just don't point that out.
Update the user using the Sentry methods, it will automatically hash the password as
Sentry::getUserProvider()->create();
do.