summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-21 18:33:51 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-21 18:33:51 +0200
commit7e119f2a96597a30d80f31a30e59d0d491c9c65e (patch)
treec9213cedd1c81fd94200e59b4842085817ee9420 /ishtar_common/models.py
parentf11252fcd8a89501db585a6fc997c3d0b7df2073 (diff)
downloadIshtar-7e119f2a96597a30d80f31a30e59d0d491c9c65e.tar.bz2
Ishtar-7e119f2a96597a30d80f31a30e59d0d491c9c65e.zip
Admin: do not allow password modification on "ishtar user" + help text (refs #3154)
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py3
1 files changed, 3 insertions, 0 deletions
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: