mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-06 16:04:20 +00:00
deploy: 78df829b59136c116702554222b0b67da1fd42bd
This commit is contained in:
1 parent
7da62630f6
commit
6c7e4ea60c
357 files changed
+546117
No files matched your search
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<script>
|
||||
const AUTH_RESPONSE_KEY = "auth_info";
|
||||
const CODE_VERIFIER_KEY = "auth_code_verifier";
|
||||
window.onload = function () {
|
||||
localStorage.removeItem(AUTH_RESPONSE_KEY);
|
||||
localStorage.removeItem(CODE_VERIFIER_KEY);
|
||||
const params = new URLSearchParams(window.location.search)
|
||||
if (params.has('redirect_uri')) {
|
||||
const redirect = params.get('redirect_uri');
|
||||
window.location.replace(redirect);
|
||||
} else {
|
||||
window.location.assign("/");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user