The master password upload logic was reverted, fix that.
This commit is contained in:
parent
3aee428e43
commit
de0a7a2703
1 changed files with 2 additions and 2 deletions
|
@ -347,8 +347,8 @@ namespace {
|
|||
// the user password failed, now test for the master password, in master password
|
||||
// mode the upload behaves different since it's only intended to update translations.
|
||||
// In a later version the translations will be separated from the addon.
|
||||
if(campaigns()["master_password"] == ""
|
||||
&& campaigns()["master_password"] != (*upload)["passphrase"]) {
|
||||
if(campaigns()["master_password"] != ""
|
||||
&& campaigns()["master_password"] == (*upload)["passphrase"]) {
|
||||
|
||||
std::string message = "Add-on accepted.";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue