mirror of
https://gitlab.w-hs.de/an14051/backerup-website.git
synced 2026-07-27 17:35:29 +00:00
feat: rename Updaterup to Daterup and update related links and metadata
This commit is contained in:
@@ -34,8 +34,9 @@ export default function LoginForm({ from }: Props) {
|
||||
setLoading(false)
|
||||
return
|
||||
}
|
||||
// Navigate to intended destination — fresh page load picks up the session cookie
|
||||
router.push(from || '/browse')
|
||||
// Full page navigation — bypasses Next.js router cache so the new session
|
||||
// cookie is always included in the first server request after login.
|
||||
window.location.href = from || '/browse'
|
||||
} catch {
|
||||
setError('Network error — please try again')
|
||||
setLoading(false)
|
||||
|
||||
Reference in New Issue
Block a user