[Rt-commit] rt branch, 4.4-trunk, updated. rt-4.4.1-87-ge78766c
Shawn Moore
shawn at bestpractical.com
Tue Jul 26 14:06:13 EDT 2016
The branch, 4.4-trunk has been updated
via e78766c9d29e7010a95b64b6297baf9287e8309f (commit)
from 6ba90ec2a176f0429ee4babf81e694f908385b9b (commit)
Summary of changes:
share/html/SelfService/Prefs.html | 2 ++
1 file changed, 2 insertions(+)
- Log -----------------------------------------------------------------
commit e78766c9d29e7010a95b64b6297baf9287e8309f
Author: Jason A. Smith <smithj4 at bnl.gov>
Date: Tue Jul 19 11:30:38 2016 -0400
Skip the self-service password change form under ExternalAuth
This adds the same *NO-PASSWORD* check that the internal /Prefs/AboutMe.html
page has. For RT installs that are using $WebRemoteUserAuth or
$ExternalAuthPriority, there is no internal RT password and the presence of
the password change form is confusing to SelfService users.
diff --git a/share/html/SelfService/Prefs.html b/share/html/SelfService/Prefs.html
index 47fe897..7be1aea 100644
--- a/share/html/SelfService/Prefs.html
+++ b/share/html/SelfService/Prefs.html
@@ -68,10 +68,12 @@
</td>
<td valign="top">
<&| /Widgets/TitleBox, title => loc('Change password') &>
+% if ( $user->__Value('Password') ne '*NO-PASSWORD*' ) {
<& /Elements/EditPassword,
User => $user,
Name => [qw(CurrentPass NewPass1 NewPass2)],
&>
+% }
</&>
</td></tr></table>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list