mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-04-08 10:01:29 +08:00
转移.net core 3.1,为.NET 5做准备
This commit is contained in:
1
OpenAuth.Identity/wwwroot/js/signin-redirect.js
Normal file
1
OpenAuth.Identity/wwwroot/js/signin-redirect.js
Normal file
@@ -0,0 +1 @@
|
||||
window.location.href = document.querySelector("meta[http-equiv=refresh]").getAttribute("data-url");
|
||||
6
OpenAuth.Identity/wwwroot/js/signout-redirect.js
Normal file
6
OpenAuth.Identity/wwwroot/js/signout-redirect.js
Normal file
@@ -0,0 +1,6 @@
|
||||
window.addEventListener("load", function () {
|
||||
var a = document.querySelector("a.PostLogoutRedirectUri");
|
||||
if (a) {
|
||||
window.location = a.href;
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user