use role=client on passwd
This commit is contained in:
parent
4bd43ca9da
commit
efea318b2e
@ -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…
Reference in New Issue
Block a user