Module: check_mk
Branch: master
Commit: 5afeacd91ca43f337779a29976a5cdb809249f29
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5afeacd91ca43f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jan 23 11:57:38 2015 +0100
WATO users: label of enforce pw change at next login checkbox is now clickable
---
web/htdocs/wato.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index e4848e4..efe0f1e 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -12112,8 +12112,8 @@ def mode_edit_user(phase):
html.write("</td></tr><tr><td>%s:</td><td>"
% _("Enforce change"))
# Only make password enforcement selection possible when user is allowed to
change the PW
if new or config.user_may(userid, 'general.edit_profile') and
config.user_may(userid, 'general.change_password'):
- html.checkbox("enforce_pw_change",
user.get("enforce_pw_change", False))
- html.write(_("Change password at next login or access"))
+ html.checkbox("enforce_pw_change",
user.get("enforce_pw_change", False),
+ label=_("Change password at next login or access"))
else:
html.write(_("Not permitted to change the password. Change can not be
enforced."))
else: