Sign in

You have the option to log in using the email and password. To access this page, just click the “Page examples/ Sign in” link in the left sidebar or add /sign-in in the URL.

The app/Http/Livewire/Auth/SignIn.php handles the log in process and validation.

   protected $rules = [
        'email' => 'required|email',
        'password' => 'required',

    public function login()
        $credentials = $this->validate();
        return auth()->attempt($credentials)
                ? redirect()->intended('/profile')
                : $this->addError('email', trans('auth.failed'));