1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Admin Portal - Profile

This commit is contained in:
hillelcoren 2022-07-11 11:54:13 +00:00
parent e2d7c5c37d
commit d2bc144c08

View File

@ -59637,7 +59637,7 @@
// returning from await.
prefs = $async$result;
prefString = prefs == null ? null : A._asStringQ(J.$index$asx(prefs._preferenceCache, "shared_prefs"));
url = A.WebUtils_browserUrl();
url = A.WebUtils_apiUrl();
prefState = A.PrefState_PrefState();
if (prefString != null)
try {
@ -114044,7 +114044,7 @@
this.context = t1;
this.onComplete = t2;
},
WebUtils_browserUrl() {
WebUtils_apiUrl() {
var url = window.location.href;
if (J.contains$1$asx(url, "?"))
url = url.split("?")[0];
@ -114065,7 +114065,7 @@
WebUtils_microsoftLogout() {
var config = new A.Configuration(A.Configuration$(null)),
t1 = A.BrowserAuthOptions$(null);
t1.redirectUri = A.cleanApiUrl(A.WebUtils_browserUrl());
t1.redirectUri = A.cleanApiUrl(A.WebUtils_apiUrl());
t1.clientId = "1023b9ce-5b09-4f04-98f8-e1ed85a72332";
config.set$auth(0, new A.BrowserAuthOptions(t1));
A.PublicClientApplication_PublicClientApplication(config).logoutPopup$1(0, new A.EndSessionPopupRequest(A.EndSessionPopupRequest$(null)));
@ -114083,7 +114083,7 @@
// Function start
config = new A.Configuration(A.Configuration$(null));
t1 = A.BrowserAuthOptions$(null);
t1.redirectUri = A.cleanApiUrl(A.WebUtils_browserUrl());
t1.redirectUri = A.cleanApiUrl(A.WebUtils_apiUrl());
t1.clientId = "1023b9ce-5b09-4f04-98f8-e1ed85a72332";
config.set$auth(0, new A.BrowserAuthOptions(t1));
publicClientApp = A.PublicClientApplication_PublicClientApplication(config);
@ -405999,7 +405999,7 @@
// Function start
$async$handler = 3;
t1 = A._setArrayType([B.AppleIDAuthorizationScopes_0, B.AppleIDAuthorizationScopes_1], type$.JSArray_legacy_AppleIDAuthorizationScopes);
t2 = A.Uri_parse(A.WebUtils_browserUrl(), 0, null);
t2 = A.Uri_parse(A.cleanApiUrl(A.WebUtils_apiUrl()), 0, null);
$async$goto = 6;
return A._asyncAwait(A.SignInWithApple_getAppleIDCredential(t1, new A.WebAuthenticationOptions("com.invoiceninja.client", t2)), $async$call$5$oneTimePassword$secret$url);
case 6:
@ -406070,7 +406070,7 @@
// Function start
$async$handler = 3;
t1 = A._setArrayType([B.AppleIDAuthorizationScopes_0, B.AppleIDAuthorizationScopes_1], type$.JSArray_legacy_AppleIDAuthorizationScopes);
t2 = A.Uri_parse(A.WebUtils_browserUrl(), 0, null);
t2 = A.Uri_parse(A.WebUtils_apiUrl(), 0, null);
$async$goto = 6;
return A._asyncAwait(A.SignInWithApple_getAppleIDCredential(t1, new A.WebAuthenticationOptions("com.invoiceninja.client", t2)), $async$call$3);
case 6: