From 7e119f2a96597a30d80f31a30e59d0d491c9c65e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 21 Aug 2016 18:33:51 +0200 Subject: Admin: do not allow password modification on "ishtar user" + help text (refs #3154) --- ishtar_common/models.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index a013a3456..87cad0d72 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2416,6 +2416,9 @@ class IshtarUser(User): cache.set(cache_key, res, settings.CACHE_SMALLTIMEOUT) return res +IshtarUser._meta.get_field('password').help_text = _( + u"To modify the password use the form in Auth > User") + class AuthorType(GeneralType): class Meta: -- cgit v1.2.3