pvanand commited on
Commit
a1cd94a
·
verified ·
1 Parent(s): 7244cd2

Update static/login.html

Browse files
Files changed (1) hide show
  1. static/login.html +2 -2
static/login.html CHANGED
@@ -60,14 +60,14 @@
60
  (async function() {
61
  const session = await checkAuth();
62
  if (session) {
63
- window.location.href = '/research-pro';
64
  } else {
65
  initiateOAuth2Login();
66
  }
67
  })();
68
 
69
  function initiateOAuth2Login() {
70
- const success = `${window.location.origin}/research-pro`;
71
  const failure = `${window.location.origin}/login`;
72
 
73
  account.createOAuth2Session(
 
60
  (async function() {
61
  const session = await checkAuth();
62
  if (session) {
63
+ window.location.href = '/dashboard';
64
  } else {
65
  initiateOAuth2Login();
66
  }
67
  })();
68
 
69
  function initiateOAuth2Login() {
70
+ const success = `${window.location.origin}/dashboard`;
71
  const failure = `${window.location.origin}/login`;
72
 
73
  account.createOAuth2Session(