diff --git a/web/app.py b/web/app.py index b646406..c3243d3 100644 --- a/web/app.py +++ b/web/app.py @@ -84,7 +84,7 @@ def create_app() -> flask.Flask: data = json.load(open('data/tos.json', encoding='utf8')) del data[code] - json.dump(secrets, open('data/tos.json', 'w', encoding='utf8')) + json.dump(data, open('data/tos.json', 'w', encoding='utf8')) return 'Removed.', 204 diff --git a/web/templates/legal/terms.html b/web/templates/legal/terms.html index 927bff7..282aafd 100644 --- a/web/templates/legal/terms.html +++ b/web/templates/legal/terms.html @@ -75,7 +75,7 @@ {% if verify %}

- Because you just ran /key: + Because you just ran /credentials: If you accept both the privacy policy and terms of service, answer with the emoji below . Tip: you can use the search feature to find the emoji more quickly.