Re-enable registrations

This commit is contained in:
Marco Aceti 2022-02-22 11:39:39 +01:00
parent 52ddce6b6a
commit d43275a0c3
No known key found for this signature in database
GPG key ID: E4ABA81298E4F14D

View file

@ -37,7 +37,7 @@ def index() -> Response:
ol = overleaf.Overleaf(os.environ.get("OL_INSTANCE"))
ol.login(os.environ.get("OL_ADMIN_EMAIL"), os.environ.get("OL_ADMIN_PASSWORD"))
# ol.register_user(email)
ol.register_user(email)
ol.logout()
return render_template("done.html", submitted_email=email)