From b297435161fe642cdef788edad75d7fde3104108 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Mon, 14 Nov 2016 20:27:28 -0500 Subject: [PATCH] Require login to show JSXC shortcut on frontpage Update changelog --- CHANGELOG.md | 1 + plinth/modules/xmpp/__init__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 716d15f22..692453208 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ All notable changes to this project will be documented in this file. ### Changed - repro: Use firewalld provided SIP services. - xmpp: Show more clearly if domain is not set. +- frontpage: Don't show apps requiring login, unless logged in. ## [0.11.0] - 2016-09-21 ### Added diff --git a/plinth/modules/xmpp/__init__.py b/plinth/modules/xmpp/__init__.py index 77d8b503e..9463009c6 100644 --- a/plinth/modules/xmpp/__init__.py +++ b/plinth/modules/xmpp/__init__.py @@ -92,7 +92,7 @@ def setup(helper, old_version=None): def add_shortcut(): frontpage.add_shortcut('jsxc', _('Chat Client (jsxc)'), reverse_lazy('xmpp:jsxc'), 'glyphicon-comment', - login_required=False) + login_required=True) frontpage.add_shortcut('xmpp', title, None, 'glyphicon-comment', description, login_required=True)