Fixed: inverted boolean in check for enabled anon user
This commit is contained in:
parent
2ee515945d
commit
5f2c6c2e0f
@ -95,7 +95,7 @@ int main(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
throw std::runtime_error("No such anon user in database");
|
throw std::runtime_error("No such anon user in database");
|
||||||
}
|
}
|
||||||
if(!anon->enabled)
|
if(anon->enabled)
|
||||||
{
|
{
|
||||||
throw std::runtime_error("Anon user cannot be enabled");
|
throw std::runtime_error("Anon user cannot be enabled");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user