diff --git a/htman/htman.py b/htman/htman.py index 5f148f7..4141780 100644 --- a/htman/htman.py +++ b/htman/htman.py @@ -65,6 +65,7 @@ def change_password_get(zone=None): @bottle.route('/password', method='POST') def change_password(zone=None): + zone = bottle.request.forms.get('zone') username = bottle.request.forms.get('username') old_password = bottle.request.forms.get('old_password') new_password = bottle.request.forms.get('new_password') diff --git a/htman/templates/layout.html b/htman/templates/layout.html index 644da58..d442a0d 100644 --- a/htman/templates/layout.html +++ b/htman/templates/layout.html @@ -15,7 +15,13 @@
diff --git a/htman/templates/manage_users.html b/htman/templates/manage_users.html index 75a0002..0e5bb47 100644 --- a/htman/templates/manage_users.html +++ b/htman/templates/manage_users.html @@ -11,7 +11,7 @@

Manage user access for wiki: ${zone}

-
${success}
+
diff --git a/htman/templates/password_change.html b/htman/templates/password_change.html index ca27327..7b7622f 100644 --- a/htman/templates/password_change.html +++ b/htman/templates/password_change.html @@ -10,30 +10,36 @@

Change user password

-
${error}
-
${success}
+ + +
+
- - - - - - - - - - - - - - - - - -
- +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+