casdoor-js-sdk
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -64,7 +64,7 @@ "use strict"; | ||
if (returnUrl !== "") { | ||
params += `&return_url=${returnUrl}`; | ||
params += `&returnUrl=${returnUrl}`; | ||
} | ||
} | ||
else if (returnUrl !== "") { | ||
params = `?return_url=${returnUrl}`; | ||
params = `?returnUrl=${returnUrl}`; | ||
} | ||
@@ -71,0 +71,0 @@ return `${this.config.serverUrl.trim()}/account${params}`; |
@@ -62,7 +62,7 @@ // Copyright 2021 The casbin Authors. All Rights Reserved. | ||
if (returnUrl !== "") { | ||
params += `&return_url=${returnUrl}`; | ||
params += `&returnUrl=${returnUrl}`; | ||
} | ||
} | ||
else if (returnUrl !== "") { | ||
params = `?return_url=${returnUrl}`; | ||
params = `?returnUrl=${returnUrl}`; | ||
} | ||
@@ -69,0 +69,0 @@ return `${this.config.serverUrl.trim()}/account${params}`; |
{ | ||
"name": "casdoor-js-sdk", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Javascript client SDK for Casdoor", | ||
@@ -5,0 +5,0 @@ "main": "lib/cjs/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28619