Fix logic error that prevented guests from seeing the privacy policy

pull/4133/head
Travis Ralston 2018-11-01 16:47:05 -06:00
parent 3149d55b7d
commit 642505abc3
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ class ConsentResource(Resource):
username = parse_string(request, "u", required=False, default="")
userhmac = None
has_consented = False
public_version = username != ""
public_version = username == ""
if not public_version:
userhmac = parse_string(request, "h", required=True, encoding=None)