Skip to content

Commit

Permalink
campaignd: Remove last remaining trace of the master_password functio…
Browse files Browse the repository at this point in the history
…nality

(cherry-picked from commit 6d5f5d4)
  • Loading branch information
irydacea committed Oct 7, 2018
1 parent 7a76fb9 commit 1b94aad
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/campaign_server/campaign_server.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1b94aad

Please sign in to comment.