����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 18.217.218.162 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/cbt.gltechlimited.com/vendor/laravel/fortify/src/Actions/ |
Upload File : |
<?php namespace Laravel\Fortify\Actions; use Illuminate\Contracts\Auth\StatefulGuard; use Laravel\Fortify\Fortify; class ConfirmPassword { /** * Confirm that the given password is valid for the given user. * * @param \Illuminate\Contracts\Auth\StatefulGuard $guard * @param mixed $user * @param string|null $password * @return bool */ public function __invoke(StatefulGuard $guard, $user, ?string $password = null) { $username = config('fortify.username'); return is_null(Fortify::$confirmPasswordsUsingCallback) ? $guard->validate([ $username => $user->{$username}, 'password' => $password, ]) : $this->confirmPasswordUsingCustomCallback($user, $password); } /** * Confirm the user's password using a custom callback. * * @param mixed $user * @param string|null $password * @return bool */ protected function confirmPasswordUsingCustomCallback($user, ?string $password = null) { return call_user_func( Fortify::$confirmPasswordsUsingCallback, $user, $password ); } }