VRFS-1848 : Make login window disappear when login complete after the google oauth callback.
This commit is contained in:
parent
f4765d03f9
commit
267e5a7e10
|
|
@ -134,6 +134,10 @@
|
|||
e.preventDefault();
|
||||
logger.debug("Starting google login")
|
||||
window._oauth_win = window.open("/auth/google_login", "Log In to Google", "height=500,width=500,menubar=no,resizable=no,status=no");
|
||||
|
||||
window._oauth_callback = function() {
|
||||
window._oauth_win.close();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue