fix: boarding + verification

This commit is contained in:
Andras Bacsai
2023-10-11 14:24:19 +02:00
parent 3e4538de98
commit 62adf2c5dc
4 changed files with 14 additions and 5 deletions

View File

@@ -73,6 +73,7 @@ Route::get('/verify', function () {
Route::get('/email/verify/{id}/{hash}', function (EmailVerificationRequest $request) {
$request->fulfill();
send_internal_notification("User {$request->user()->name} verified their email address.");
return redirect('/');
})->middleware(['auth'])->name('verify.verify');