authscape 1.0.161 → 1.0.162
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
- package/src/services/authService.js +2 -2
package/index.js
CHANGED
|
@@ -2271,10 +2271,10 @@ var authService = function authService() {
|
|
|
2271
2271
|
var AuthUri = process.env.AUTHORITYURI;
|
|
2272
2272
|
var url = "";
|
|
2273
2273
|
if (redirectUrl == null) {
|
|
2274
|
-
url = AuthUri + "/Account/Register?returnUrl=" + window.location.href;
|
|
2274
|
+
url = AuthUri + "/Identity/Account/Register?returnUrl=" + window.location.href;
|
|
2275
2275
|
localStorage.setItem("redirectUri", window.location.href);
|
|
2276
2276
|
} else {
|
|
2277
|
-
url = AuthUri + "/Account/Register?returnUrl=" + redirectUrl;
|
|
2277
|
+
url = AuthUri + "/Identity/Account/Register?returnUrl=" + redirectUrl;
|
|
2278
2278
|
localStorage.setItem("redirectUri", redirectUrl);
|
|
2279
2279
|
}
|
|
2280
2280
|
window.location.href = url;
|
package/package.json
CHANGED
|
@@ -65,12 +65,12 @@ export const authService = () => {
|
|
|
65
65
|
let url = "";
|
|
66
66
|
if (redirectUrl == null)
|
|
67
67
|
{
|
|
68
|
-
url = AuthUri + "/Account/Register?returnUrl=" + window.location.href;
|
|
68
|
+
url = AuthUri + "/Identity/Account/Register?returnUrl=" + window.location.href;
|
|
69
69
|
localStorage.setItem("redirectUri", window.location.href);
|
|
70
70
|
}
|
|
71
71
|
else
|
|
72
72
|
{
|
|
73
|
-
url = AuthUri + "/Account/Register?returnUrl=" + redirectUrl;
|
|
73
|
+
url = AuthUri + "/Identity/Account/Register?returnUrl=" + redirectUrl;
|
|
74
74
|
localStorage.setItem("redirectUri", redirectUrl);
|
|
75
75
|
}
|
|
76
76
|
|