aboutsummaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@netscape.net>2017-10-15 14:41:44 +0200
committerFrédéric Buclin <LpSolit@netscape.net>2017-10-15 14:41:44 +0200
commit7c65990927b3ededebdcd05d3ca71800a7a2458b (patch)
tree91640f269c5a4804fc1e5229574e956bccfe68a2 /template/en
parent2c7b0be3f882ec09dc5b2fda71a90efe4761ac54 (diff)
downloadbugs-7c65990927b3ededebdcd05d3ca71800a7a2458b.tar
bugs-7c65990927b3ededebdcd05d3ca71800a7a2458b.tar.gz
bugs-7c65990927b3ededebdcd05d3ca71800a7a2458b.tar.bz2
bugs-7c65990927b3ededebdcd05d3ca71800a7a2458b.tar.xz
bugs-7c65990927b3ededebdcd05d3ca71800a7a2458b.zip
Display the external ID in editusers.cgi (used by LDAP)
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/admin/users/list.html.tmpl3
-rw-r--r--template/en/default/admin/users/search.html.tmpl1
-rw-r--r--template/en/default/admin/users/userdata.html.tmpl4
3 files changed, 6 insertions, 2 deletions
diff --git a/template/en/default/admin/users/list.html.tmpl b/template/en/default/admin/users/list.html.tmpl
index f90996882..0b3c46eef 100644
--- a/template/en/default/admin/users/list.html.tmpl
+++ b/template/en/default/admin/users/list.html.tmpl
@@ -35,6 +35,9 @@
{name => 'realname'
heading => 'Real name'
}
+ {name => 'extern_id'
+ heading => 'External ID'
+ }
{name => 'last_seen_date'
heading => 'Last Login'
}
diff --git a/template/en/default/admin/users/search.html.tmpl b/template/en/default/admin/users/search.html.tmpl
index 17477a012..bab4338ae 100644
--- a/template/en/default/admin/users/search.html.tmpl
+++ b/template/en/default/admin/users/search.html.tmpl
@@ -32,6 +32,7 @@
<option value="login_name">login name</option>
<option value="realname">real name</option>
<option value="userid">user id</option>
+ <option value="extern_id">external id</option>
</select>
<label for="matchstr">matching</label>
<input size="32" name="matchstr" id="matchstr" autofocus>
diff --git a/template/en/default/admin/users/userdata.html.tmpl b/template/en/default/admin/users/userdata.html.tmpl
index c08cd0018..705168380 100644
--- a/template/en/default/admin/users/userdata.html.tmpl
+++ b/template/en/default/admin/users/userdata.html.tmpl
@@ -65,7 +65,6 @@
# if we ever have a login system that can create accounts through
# createaccount.cgi but can't change passwords.
#%]
- [% password_complexity = Param('password_complexity') %]
[% IF editusers %]
[% IF user.authorizer.can_change_password %]
<tr>
@@ -73,7 +72,8 @@
<td>
<input type="password" size="16" name="password" id="password"
value="" autocomplete="off" [% 'required' IF !editform %]>
- [% IF password_complexity == "mixed_letters" %]
+ [% password_complexity = Param('password_complexity') %]
+ [% IF password_complexity == "mixed_letters" %]
(Password must contain at least one UPPER and one lowercase letter.)
[% ELSIF password_complexity == "letters_numbers" %]
(Password must contain at least one UPPER and one lower case letter and a number.)