summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-11-07 15:48:06 +0100
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-11-17 17:36:15 +0100
commitfc02d891cd4b23578d609162f1c7dbbc429be08f (patch)
tree60bf27cc45b8e0e6238879ab900836c524492e18
parenteeda698f400902eac3ae606fb2a9d336d5d98c5a (diff)
Fix typo in save_user() function
-rw-r--r--ogcp/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 8e40ce6..2edcbc2 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -1555,7 +1555,7 @@ def delete_server(server):
def save_user(form):
- username = form.username.datk
+ username = form.username.data
pwd_hash = hash_password(form.pwd.data)
pwd_hash_confirm = hash_password(form.pwd_confirm.data)