Arcader7171 commited on
Commit
f05ffb3
·
verified ·
1 Parent(s): e64321a

Update static/scripts/login.js

Browse files
Files changed (1) hide show
  1. 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) {