Spaces:
Sleeping
Sleeping
Update static/scripts/login.js
Browse files- static/scripts/login.js +2 -1
static/scripts/login.js
CHANGED
|
@@ -14,7 +14,8 @@ function login() {
|
|
| 14 |
return response.json();
|
| 15 |
})
|
| 16 |
.then(data => {
|
| 17 |
-
console.log("Success - ", data);
|
|
|
|
| 18 |
})
|
| 19 |
.catch(errorResponse => {
|
| 20 |
if (errorResponse instanceof Response) {
|
|
|
|
| 14 |
return response.json();
|
| 15 |
})
|
| 16 |
.then(data => {
|
| 17 |
+
console.log("Success - ", data);
|
| 18 |
+
window.location.reload();
|
| 19 |
})
|
| 20 |
.catch(errorResponse => {
|
| 21 |
if (errorResponse instanceof Response) {
|