Sistema de controles da União de Ciclistas do Brasil
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
<?php
|
|
|
|
|
|
namespace App\Http\Livewire\Auth\Passwords;
|
|
|
|
|
|
use Livewire\Component;
|
|
|
|
|
|
class Confirm extends Component
|
|
|
{
|
|
|
/** @var string */
|
|
|
public $password = '';
|
|
|
|
|
|
public function confirm()
|
|
|
{
|
|
|
$this->validate([
|
|
|
'password' => 'required|password',
|
|
|
]);
|
|
|
|
|
|
session()->put('auth.password_confirmed_at', time());
|
|
|
|
|
|
redirect()->intended(route('home'));
|
|
|
}
|
|
|
|
|
|
public function render()
|
|
|
{
|
|
|
return view('livewire.auth.passwords.confirm');
|
|
|
}
|
|
|
}
|