Skip to content

Commit 7fd0723

Browse files
authored
Redirect to intended URL after registration (#40)
1 parent 3af4d12 commit 7fd0723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/livewire/auth/register.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function register(): void
3131
3232
Auth::login($user);
3333
34-
$this->redirect(route('dashboard', absolute: false), navigate: true);
34+
$this->redirectIntended(route('dashboard', absolute: false), navigate: true);
3535
}
3636
}; ?>
3737

0 commit comments

Comments
 (0)