Merge branch 'rpc' into v1.2-next
This commit is contained in:
commit
d84b7bd6ea
|
@ -107,10 +107,9 @@
|
||||||
if (/localstorage/i.test(params._scheme)) {
|
if (/localstorage/i.test(params._scheme)) {
|
||||||
if (sub) {
|
if (sub) {
|
||||||
subData = localStorage.getItem(sub + '@oauth3.org:issuer');
|
subData = localStorage.getItem(sub + '@oauth3.org:issuer');
|
||||||
onSuccess(subData || localStorage.getItem('oauth3.org:issuer'), subData && true);
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
onSuccess(localStorage.getItem('oauth3.org:issuer'));
|
onSuccess(subData || localStorage.getItem('oauth3.org:issuer')
|
||||||
|
|| window.location.href.replace(/\/\.well-known.*/, ''), subData && true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue