campaignd: Remove last remaining trace of the master_password functionality
(cherry-picked from commit 6d5f5d4299
)
This commit is contained in:
parent
7a76fb9868
commit
1b94aad416
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue