summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2015-12-14 09:44:19 +0100
committerSimon Rettberg2015-12-14 09:44:19 +0100
commit7f9fbedc58ba8db9021f6341cfb1c92770f8624c (patch)
tree5b6207b54057edd1914eeb15932963406c72fa56
parent[statistics] Show summary at top, show session details for occupied clients (diff)
downloadslx-admin-7f9fbedc58ba8db9021f6341cfb1c92770f8624c.tar.gz
slx-admin-7f9fbedc58ba8db9021f6341cfb1c92770f8624c.tar.xz
slx-admin-7f9fbedc58ba8db9021f6341cfb1c92770f8624c.zip
Add ugly hack to prevent chrome and firefox from autofilling passwords everywhere
-rw-r--r--templates/baseconfig/_page.html2
-rw-r--r--templates/dozmod/mailconfig.html2
-rw-r--r--templates/internetaccess/_page.html2
-rw-r--r--templates/page-adduser.html2
-rw-r--r--templates/page-vmstore.html2
-rw-r--r--templates/serversetup/ipxe.html2
-rw-r--r--templates/sysconfig/ad-start.html2
-rw-r--r--templates/sysconfig/ldap-start.html2
8 files changed, 16 insertions, 0 deletions
diff --git a/templates/baseconfig/_page.html b/templates/baseconfig/_page.html
index 9bef717b..9bea7206 100644
--- a/templates/baseconfig/_page.html
+++ b/templates/baseconfig/_page.html
@@ -1,6 +1,8 @@
<h1>{{lang_basicConfiguration}}</h1>
<p>{{lang_clientRelatedConfig}}</p>
<form action="?do=BaseConfig" method="post">
+ <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;">
+ <input type="password" name="password_fake" id="password_fake" value="" style="display:none;">
{{#categories}}
<div class="panel panel-default">
<div class="panel-heading">{{category_name}}</div>
diff --git a/templates/dozmod/mailconfig.html b/templates/dozmod/mailconfig.html
index 5f38b50b..b19776c0 100644
--- a/templates/dozmod/mailconfig.html
+++ b/templates/dozmod/mailconfig.html
@@ -9,6 +9,8 @@
<p>[BETA] Diese Funktionalität ist neu. Wir bitten um Nachsicht, falls es Situationen gibt, in denen zu viele
oder zu wenige Nachrichten verschickt werden.</p>
<form action="?do=DozMod" method="post" id="mailconf">
+ <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;">
+ <input type="password" name="password_fake" id="password_fake" value="" style="display:none;">
<div class="input-group">
<label class="input-group-addon slx-ga2" for="host-id">{{lang_host}} *</label>
<input type="text" name="host" id ="host-id" class="form-control" placeholder="smtp.example.com" value="{{host}}">
diff --git a/templates/internetaccess/_page.html b/templates/internetaccess/_page.html
index f4e0aa55..a2aaddac 100644
--- a/templates/internetaccess/_page.html
+++ b/templates/internetaccess/_page.html
@@ -1,6 +1,8 @@
<h1>{{lang_internetAccess}}</h1>
<form action="?do=InternetAccess" method="post">
+ <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;">
+ <input type="password" name="password_fake" id="password_fake" value="" style="display:none;">
<input type="hidden" name="token" value="{{token}}">
<div class="panel panel-default">
<div class="panel-heading">{{lang_internetAccess}}</div>
diff --git a/templates/page-adduser.html b/templates/page-adduser.html
index 50af8267..0b097890 100644
--- a/templates/page-adduser.html
+++ b/templates/page-adduser.html
@@ -1,4 +1,6 @@
<form class="form-adduser" action="?do=AddUser" method="post">
+ <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;">
+ <input type="password" name="password_fake" id="password_fake" value="" style="display:none;">
<h2 class="form-signin-heading">{{lang_createUser}}</h2>
<div class="row">
<div class="col-md-4">{{lang_username}} *</div>
diff --git a/templates/page-vmstore.html b/templates/page-vmstore.html
index c7c9e846..fe2c5225 100644
--- a/templates/page-vmstore.html
+++ b/templates/page-vmstore.html
@@ -1,4 +1,6 @@
<form role="form" method="post" action="?do=VmStore">
+ <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;">
+ <input type="password" name="password_fake" id="password_fake" value="" style="display:none;">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="action" value="setstore">
<div class="panel panel-default">
diff --git a/templates/serversetup/ipxe.html b/templates/serversetup/ipxe.html
index ea1780c0..4539624b 100644
--- a/templates/serversetup/ipxe.html
+++ b/templates/serversetup/ipxe.html
@@ -1,4 +1,6 @@
<form method="post" action="?do=ServerSetup">
+ <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;">
+ <input type="password" name="password_fake" id="password_fake" value="" style="display:none;">
<input type="hidden" name="action" value="ipxe">
<input type="hidden" name="token" value="{{token}}">
<div class="panel panel-default">
diff --git a/templates/sysconfig/ad-start.html b/templates/sysconfig/ad-start.html
index 58f4a381..9d026153 100644
--- a/templates/sysconfig/ad-start.html
+++ b/templates/sysconfig/ad-start.html
@@ -13,6 +13,8 @@
<i>{{lang_asteriskMandatory}}</i>
<form role="form" method="post" action="?do=SysConfig&amp;action=addmodule&amp;step={{step}}">
+ <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;">
+ <input type="password" name="password_fake" id="password_fake" value="" style="display:none;">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="edit" value="{{edit}}">
<div class="input-group">
diff --git a/templates/sysconfig/ldap-start.html b/templates/sysconfig/ldap-start.html
index 66afa68d..7892b63f 100644
--- a/templates/sysconfig/ldap-start.html
+++ b/templates/sysconfig/ldap-start.html
@@ -5,6 +5,8 @@
</p>
<form role="form" method="post" action="?do=SysConfig&amp;action=addmodule&amp;step={{step}}">
+ <input type="text" name="prevent_autofill" id="prevent_autofill" value="" style="display:none;">
+ <input type="password" name="password_fake" id="password_fake" value="" style="display:none;">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="edit" value="{{edit}}">
<div class="input-group">