mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-14 12:06:46 +00:00
🔥 Refactor: Replace route_with_country with route in login redirection
This commit is contained in:
@@ -63,7 +63,7 @@ class extends Component {
|
||||
if ($user) {
|
||||
Auth::loginUsingId($user->id);
|
||||
Session::regenerate();
|
||||
$this->redirectIntended(default: route_with_country('dashboard', ['country' => 'de'], absolute: false),
|
||||
$this->redirectIntended(default: route('dashboard', ['country' => 'de'], absolute: false),
|
||||
navigate: true);
|
||||
return;
|
||||
}
|
||||
@@ -84,7 +84,7 @@ class extends Component {
|
||||
RateLimiter::clear($this->throttleKey());
|
||||
Session::regenerate();
|
||||
|
||||
$this->redirectIntended(default: route_with_country('dashboard', ['country' => 'de'], absolute: false),
|
||||
$this->redirectIntended(default: route('dashboard', ['country' => 'de'], absolute: false),
|
||||
navigate: true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user