summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/templates
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-11-09 09:26:51 +0100
committerGitHub <noreply@github.com>2017-11-09 09:26:51 +0100
commit2bfa1ce5c3a23468ef2830680062869c65094b74 (patch)
treee94383026953d8307d2f3266caf17801fcd8665c /apps/user_ldap/templates
parentaa525d89e889216d17185a6934699a8f8ba7aa91 (diff)
parent7b0868ddac20c020b31310471c06b9a3a78ed5bd (diff)
downloadnextcloud-server-2bfa1ce5c3a23468ef2830680062869c65094b74.tar.gz
nextcloud-server-2bfa1ce5c3a23468ef2830680062869c65094b74.zip
Merge pull request #5568 from nextcloud/ldap-agent-credentials-safe
Ldap agent credentials save
Diffstat (limited to 'apps/user_ldap/templates')
-rw-r--r--apps/user_ldap/templates/part.wizard-server.php12
1 files changed, 5 insertions, 7 deletions
diff --git a/apps/user_ldap/templates/part.wizard-server.php b/apps/user_ldap/templates/part.wizard-server.php
index f4f2abe0f91..9803fb3cd3c 100644
--- a/apps/user_ldap/templates/part.wizard-server.php
+++ b/apps/user_ldap/templates/part.wizard-server.php
@@ -1,10 +1,3 @@
-<div class="outoftheway">
- <!-- Hack for Safari and Chromium/Chrome which ignore autocomplete="off" -->
- <input type="text" id="fake_user" name="fake_user" autocomplete="off" />
- <input type="password" id="fake_password" name="fake_password"
- autocomplete="off" />
-</div>
-
<fieldset id="ldapWizard1">
<p>
<select id="ldap_serverconfig_chooser" name="ldap_serverconfig_chooser">
@@ -54,6 +47,7 @@
</div>
</div>
</div>
+ <div class="tablerow">&nbsp;</div>
<div class="tablerow">
<input type="text" id="ldap_dn" name="ldap_dn"
class="tablecell"
@@ -68,7 +62,11 @@
placeholder="<?php p($l->t('Password'));?>" autocomplete="off"
title="<?php p($l->t('For anonymous access, leave DN and Password empty.'));?>"
/>
+ <button class="ldapSaveAgentCredentials" name="ldapSaveAgentCredentials" type="button">
+ <?php p($l->t('Save Credentials'));?>
+ </button>
</div>
+ <div class="tablerow">&nbsp;</div>
<div class="tablerow">
<textarea id="ldap_base" name="ldap_base"