diff options
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 |
commit | 5a1f5af005507f6f7883ddc079b52086ef9baff5 (patch) | |
tree | c9213cedd1c81fd94200e59b4842085817ee9420 /ishtar_common/models.py | |
parent | 585c8b6a51c481724606ffd3594627027c7674b3 (diff) | |
download | Ishtar-5a1f5af005507f6f7883ddc079b52086ef9baff5.tar.bz2 Ishtar-5a1f5af005507f6f7883ddc079b52086ef9baff5.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.py | 3 |
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: |