summaryrefslogtreecommitdiff
path: root/src/tool_getparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tool_getparam.c')
-rw-r--r--src/tool_getparam.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c
index 813cc70c0..b5068ac5f 100644
--- a/src/tool_getparam.c
+++ b/src/tool_getparam.c
@@ -1633,22 +1633,14 @@ ParameterError getparameter(char *flag, /* f or -long-flag */
}
break;
case 'u':
- /* user:password */
+ /* user:password;options */
GetStr(&config->userpwd, nextarg);
cleanarg(nextarg);
- if(!config->xoauth2_bearer) {
- err = checkpasswd("host", &config->userpwd);
- if(err)
- return err;
- }
break;
case 'U':
/* Proxy user:password */
GetStr(&config->proxyuserpwd, nextarg);
cleanarg(nextarg);
- err = checkpasswd("proxy", &config->proxyuserpwd);
- if(err)
- return err;
break;
case 'v':
if(toggle) {