mirror of
https://github.com/brufdev/many-notes.git
synced 2026-05-19 00:28:42 -05:00
24 lines
411 B
PHP
24 lines
411 B
PHP
<?php
|
|
|
|
namespace App\Livewire\Auth;
|
|
|
|
use Livewire\Component;
|
|
use App\Livewire\Forms\RegisterForm;
|
|
|
|
class Register extends Component
|
|
{
|
|
public RegisterForm $form;
|
|
|
|
public function send()
|
|
{
|
|
$this->form->register();
|
|
|
|
$this->redirect(route('vaults.index', absolute: false), navigate: true);
|
|
}
|
|
|
|
public function render()
|
|
{
|
|
return view('livewire.auth.register');
|
|
}
|
|
}
|