summaryrefslogtreecommitdiffstats
path: root/modules-available/session/templates/change-password.html
diff options
context:
space:
mode:
authorSimon Rettberg2016-09-08 18:43:47 +0200
committerSimon Rettberg2016-09-08 18:43:47 +0200
commitad4f4e405aed82cd0f87e51874043a2d054a1c01 (patch)
tree284362f85a9c31859e8e0a043e53325482812bae /modules-available/session/templates/change-password.html
parent[roomplanner] ajax saving: Better error messages on .fail() (diff)
downloadslx-admin-ad4f4e405aed82cd0f87e51874043a2d054a1c01.tar.gz
slx-admin-ad4f4e405aed82cd0f87e51874043a2d054a1c01.tar.xz
slx-admin-ad4f4e405aed82cd0f87e51874043a2d054a1c01.zip
[session] Add simple "change password" GUI
Diffstat (limited to 'modules-available/session/templates/change-password.html')
-rw-r--r--modules-available/session/templates/change-password.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules-available/session/templates/change-password.html b/modules-available/session/templates/change-password.html
new file mode 100644
index 00000000..70ab7b92
--- /dev/null
+++ b/modules-available/session/templates/change-password.html
@@ -0,0 +1,11 @@
+<form class="form-signin" action="?do=Session" method="post">
+ <h2 class="form-signin-heading">{{lang_changePassword}}</h2>
+ <div>
+ <input type="password" name="old" class="form-control" placeholder="{{lang_currentPassword}}" autofocus>
+ <input type="password" name="newpass1" class="form-control" placeholder="{{lang_newPassword}}">
+ <input type="password" name="newpass2" class="form-control" placeholder="{{lang_repeatPassword}}">
+ </div>
+ <button class="btn btn-lg btn-primary btn-block" type="submit">{{lang_changePassword}}</button>
+ <input type="hidden" name="action" value="changepw">
+ <input type="hidden" name="token" value="{{token}}">
+</form> \ No newline at end of file