зеркало из https://github.com/Azure/AzureRMR.git
ensure password field not null
This commit is contained in:
Родитель
0b539e0c45
Коммит
acd0fad458
|
@ -1,6 +1,6 @@
|
|||
Package: AzureRMR
|
||||
Title: Interface to 'Azure Resource Manager'
|
||||
Version: 1.0.0
|
||||
Version: 1.0.0.9000
|
||||
Authors@R: c(
|
||||
person("Hong", "Ooi", , "hongooi@microsoft.com", role = c("aut", "cre")),
|
||||
person("Microsoft", role="cph")
|
||||
|
|
|
@ -32,6 +32,10 @@ public=list(
|
|||
# if auth is via device, token now contains initial server response; call devicecode handler to get actual token
|
||||
if(use_device)
|
||||
private$init_with_device(endpoint, app, user_params)
|
||||
|
||||
# ensure password is never NULL (important for renewing)
|
||||
if(is_empty(self$app$secret))
|
||||
self$app$secret <- ""
|
||||
},
|
||||
|
||||
# overrides httr::Token2.0 method
|
||||
|
|
Загрузка…
Ссылка в новой задаче