use role=client on passwd
This commit is contained in:
parent
4bd43ca9da
commit
efea318b2e
1 changed files with 2 additions and 2 deletions
|
|
@ -358,9 +358,9 @@ imap4login(Imap *imap)
|
||||||
return "error in initial IMAP handshake";
|
return "error in initial IMAP handshake";
|
||||||
|
|
||||||
if(imap->user != nil)
|
if(imap->user != nil)
|
||||||
up = auth_getuserpasswd(auth_getkey, "proto=pass service=imap server=%q user=%q", imap->host, imap->user);
|
up = auth_getuserpasswd(auth_getkey, "proto=pass role=client service=imap server=%q user=%q", imap->host, imap->user);
|
||||||
else
|
else
|
||||||
up = auth_getuserpasswd(auth_getkey, "proto=pass service=imap server=%q", imap->host);
|
up = auth_getuserpasswd(auth_getkey, "proto=pass role=client service=imap server=%q", imap->host);
|
||||||
if(up == nil)
|
if(up == nil)
|
||||||
return "cannot find IMAP password";
|
return "cannot find IMAP password";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue