Refactor routing to dashboard with country parameter adjustment

This commit is contained in:
HolgerHatGarKeineNode
2025-11-22 23:02:26 +01:00
parent 5a30d38413
commit ff2a5636f6
9 changed files with 17 additions and 13 deletions

View File

@@ -63,8 +63,10 @@ class extends Component {
if ($user) {
Auth::loginUsingId($user->id);
Session::regenerate();
$this->redirectIntended(default: route('dashboard', ['country' => 'de'], absolute: false),
navigate: true);
$this->redirectIntended(
default: route('dashboard', ['country' => 'de'], absolute: false),
navigate: true,
);
return;
}
return;
@@ -84,8 +86,10 @@ class extends Component {
RateLimiter::clear($this->throttleKey());
Session::regenerate();
$this->redirectIntended(default: route('dashboard', ['country' => 'de'], absolute: false),
navigate: true);
$this->redirectIntended(
default: route('dashboard', ['country' => 'de'], absolute: false),
navigate: true
);
}
/**