Comparing version 1.1.0 to 1.1.1
@@ -16,3 +16,3 @@ 'use strict'; | ||
message = message || 'Please enter your username and password to login to ' + service + '.'; | ||
ps('$c = Get-Credential -Message \\"' + message + '\\" -Username ' + username + '; ' + ('$c.GetNetworkCredential().username; echo \\"' + delimiter + '\\"; ') + '$c.GetNetworkCredential().password;').then(function (r) { | ||
return ps('$c = Get-Credential -Message \\"' + message + '\\" -Username ' + username + '; ' + ('$c.GetNetworkCredential().username; echo \\"' + delimiter + '\\"; ') + '$c.GetNetworkCredential().password;').then(function (r) { | ||
var answers = r.split(delimiter).map(function (s) { | ||
@@ -19,0 +19,0 @@ return s.trim(); |
{ | ||
"name": "clortho", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "friendly, OS-appropriate password handling for node scripts", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -17,3 +17,3 @@ 'use strict'; | ||
message = message || `Please enter your username and password to login to ${service}.`; | ||
ps( | ||
return ps( | ||
`$c = Get-Credential -Message \\"${message}\\" -Username ${username}; ` + | ||
@@ -20,0 +20,0 @@ `$c.GetNetworkCredential().username; echo \\"${delimiter}\\"; ` + |
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
26908