Module: check_mk
Branch: master
Commit: 0b6b8004d58cf66de4e9cb20b5d55243b70518a1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0b6b8004d58cf6…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Dec 25 11:48:12 2012 +0100
Disable notification per default for new users
Now you can edit and save omdadmin without an error message or
changing something of the status quo
---
web/htdocs/wato.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index aa84a62..a7a229a 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -8148,7 +8148,7 @@ def mode_edit_user(phase):
forms.header(_("Notifications"), isopen=False)
forms.section(_("Enabling"), simple=True)
- html.checkbox("notifications_enabled",
user.get("notifications_enabled", True),
+ html.checkbox("notifications_enabled",
user.get("notifications_enabled", False),
label = _("enable notifications"))
html.help(_("Notifications are sent out "
"when the status of a host or service changes."))