add availability to use server_password_command in the nntp backend like in the IMAP backend

pull/250/head
rek2 2023-07-06 05:23:24 +02:00
parent 7c33f8999b
commit b5f205b77b
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@ impl NntpType {
get_conf_val!(s["server_username"], String::new())?
},
server_password: if require_auth {
get_conf_val!(s["server_password"])?.to_string()
s.server_password()?
} else {
get_conf_val!(s["server_password"], String::new())?
},