mirror of
https://gitlab.w-hs.de/an14051/backerup-website.git
synced 2026-07-27 17:35:29 +00:00
feat: implement file deletion functionality and enhance deployment script
This commit is contained in:
@@ -34,9 +34,8 @@ export default function LoginForm({ from }: Props) {
|
||||
setLoading(false)
|
||||
return
|
||||
}
|
||||
// Navigate to intended destination or browse
|
||||
// Navigate to intended destination — fresh page load picks up the session cookie
|
||||
router.push(from || '/browse')
|
||||
router.refresh()
|
||||
} catch {
|
||||
setError('Network error — please try again')
|
||||
setLoading(false)
|
||||
|
||||
Reference in New Issue
Block a user