DocSpace-client/common/ASC.FederatedLogin/callback.htm

20 lines
483 B
HTML
Raw Normal View History

2019-06-06 13:34:46 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<script language="javascript" type="text/javascript">
2021-10-15 08:34:34 +00:00
if (%DESKTOP%) {
localStorage.setItem("profile", %PROFILE%);
window.location.href = "/";
2021-10-15 08:34:34 +00:00
} else {
try {
window.opener.%CALLBACK%(%PROFILE%);
}
catch (ex) {
}
window.close();
2019-06-06 13:34:46 +00:00
}
</script>
</head>
<body></body>
</html>