From 835e26b442a6b3b6eea798ae034a1fedd4ce8448 Mon Sep 17 00:00:00 2001 From: gashapwn Date: Fri, 27 Nov 2020 00:35:36 +0000 Subject: [PATCH] on app.py.... dont need to save rules_read to file. added pub_key to file write --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index daffccf..f70c253 100644 --- a/app.py +++ b/app.py @@ -96,6 +96,7 @@ def signup(): # request username = request.form["username"] email = request.form["email"] + pub_key = request.form["pub_key"] shell = request.form["shell"] rule_read = request.form["rule_read"] @@ -133,7 +134,7 @@ def signup(): ident_file.write(str(username) + "\n") ident_file.write(str(email) + "\n") ident_file.write(str(shell) + "\n") - ident_file.write(str(rule_read) + "\n") + ident_file.write(str(pub_key) + "\n") print(username + " " + email + " " + shell + " " + rule_read) return render_template("signup.html", is_email_user = is_email_user)