File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3120,7 +3120,7 @@ function Global:New-SgwAccount {
31203120 if ($Server.UseSso -and !$GrantRootAccessToGroup) {
31213121 Write-Warning "SSO is enabled, you must specify a group for root access using -GrantRootAccessToGroup"
31223122 Throw "SSO is enabled, you must specify a group for root access using -GrantRootAccessToGroup"
3123- }
3123+ }
31243124 }
31253125
31263126 Process {
@@ -3703,6 +3703,7 @@ function Global:Update-SgwSwiftAdminPassword {
37033703 }
37043704}
37053705
3706+ New-Alias -Name Update-SgwPassword -Value Update-SgwAccountPassword
37063707<#
37073708 .SYNOPSIS
37083709 Changes the root user password for the Storage Tenant Account
@@ -3719,7 +3720,7 @@ function Global:Update-SgwSwiftAdminPassword {
37193720 .PARAMETER NewPassword
37203721 CNew Password.
37213722#>
3722- function Global:Update-SgwPassword {
3723+ function Global:Update-SgwAccountPassword {
37233724 [CmdletBinding()]
37243725
37253726 PARAM (
@@ -4364,7 +4365,7 @@ function global:Connect-SgwServer {
43644365 if (($Server.Session.Cookies.GetCookies($Server.BaseUri) | Where-Object { $_.Name -match "CsrfToken" })) {
43654366 $XCsrfToken = $Server.Session.Cookies.GetCookies($Server.BaseUri) | Where-Object { $_.Name -match "CsrfToken" } | Select-Object -ExpandProperty Value
43664367 $Server.Headers["X-Csrf-Token"] = $XCsrfToken
4367- }
4368+ }
43684369 }
43694370 Catch {
43704371 $ResponseBody = ParseErrorForResponseBody $_
You can’t perform that action at this time.
0 commit comments