-
Hellow folks! How can we confirm third party password with Laravel/Fortify/LdapRecord-Laravel stack? I imagine this is possible (and maybe even trivial), but I haven't seen anything like it in the documentation. Example: A certain person goes to a library to borrow a book. The application operator (authenticated user of the application) will enter the information in the application and ask the person to confirm the operation with his password. The authenticated user must not be replaced, but only the confirmation of the password of the person who went to pick up the book. note:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
My mistake.... The following code do the trick use Illuminate\Support\Facades\Auth;
/** @var bool */
$validated = Auth::validate([
'samaccountname' => $request->input('recebedor'),
'password' => $request->input('password'),
]); |
Beta Was this translation helpful? Give feedback.
My mistake....
The following code do the trick