mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-12 02:14:21 -05:00
Fix logic error that prevented guests from seeing the privacy policy
This commit is contained in:
parent
3149d55b7d
commit
642505abc3
@ -141,7 +141,7 @@ class ConsentResource(Resource):
|
|||||||
username = parse_string(request, "u", required=False, default="")
|
username = parse_string(request, "u", required=False, default="")
|
||||||
userhmac = None
|
userhmac = None
|
||||||
has_consented = False
|
has_consented = False
|
||||||
public_version = username != ""
|
public_version = username == ""
|
||||||
if not public_version:
|
if not public_version:
|
||||||
userhmac = parse_string(request, "h", required=True, encoding=None)
|
userhmac = parse_string(request, "h", required=True, encoding=None)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user