diff options
| author | Daniel Hader <[email protected]> | 2026-05-30 12:59:21 -0500 |
|---|---|---|
| committer | Daniel Hader <[email protected]> | 2026-05-30 12:59:21 -0500 |
| commit | bcff4d006a0600ecf86f18ecdaa74e0df31766f0 (patch) | |
| tree | 5889f48f0c7d348d0bfe6240ab5136cd710d4ce4 /static/login.js | |
| parent | 929be68e691c1c4015fc6874111b19b9f5d68c02 (diff) | |
hardened login / logout flow
Diffstat (limited to 'static/login.js')
| -rw-r--r-- | static/login.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/login.js b/static/login.js index ee135f8..42b3242 100644 --- a/static/login.js +++ b/static/login.js @@ -27,8 +27,8 @@ function init() { display_error(error.error); return; } - - //const result = await res.json(); + + window.location.href = "index.html"; } catch (err) { console.log(err); |
