campaignd: Remove last remaining trace of the master_password functionality

(cherry-picked from commit 6d5f5d4299)
This commit is contained in:
Iris Morelle 2018-04-16 23:58:45 -03:00
parent 7a76fb9868
commit 1b94aad416

View file

@ -949,10 +949,7 @@ void server::handle_delete(const server::request& req)
return;
}
if(!authenticate(campaign, pass)
&& (campaigns()["master_password"].empty()
|| campaigns()["master_password"] != pass))
{
if(!authenticate(campaign, pass)) {
send_error("The passphrase is incorrect.", req.sock);
return;
}