removed debug logs
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run

This commit is contained in:
Edward Tirado Jr 2025-12-14 23:17:32 -06:00
parent 8167c3a3e7
commit efe979768c
3 changed files with 0 additions and 13 deletions

View file

@ -18,16 +18,10 @@ class RegisterUser extends Component
public function register()
{
logger()->info("Validating...");
logger()->info($this->form->toArray());
$validated = $this->form->validate();
logger()->info("Validated", $validated);
$user = User::create($this->form->all());
UserProfile::create(["user_id" => $user->id]);
Mail::to($user->email)->send(new PasswordResetNewUser($user));
logger()->info("New user registered: " . $user->email);
return redirect()->route('login');
}