refactor: OIDC登录时记录登录地址到浏览器本地存储
This commit is contained in:
parent
0592ded8c9
commit
df832e71cf
|
@ -198,6 +198,10 @@ export default {
|
|||
setLanguage(lang);
|
||||
this.rules = this.getDefaultRules();
|
||||
}
|
||||
let url = localStorage.getItem('oidcLoginUrl');
|
||||
if (url) {
|
||||
window.location.href = url;
|
||||
}
|
||||
});
|
||||
|
||||
},
|
||||
|
@ -209,10 +213,6 @@ export default {
|
|||
this.form.authenticate = authenticate;
|
||||
}
|
||||
}
|
||||
let url = localStorage.getItem('oidcLoginUrl');
|
||||
if (url) {
|
||||
window.location.href = url;
|
||||
}
|
||||
},
|
||||
|
||||
destroyed() {
|
||||
|
|
Loading…
Reference in New Issue