Commit 43a528ee authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update ui_auth.py to hide the field password in the user form.

parent f05b540c
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"""User Interface for the authentication tables """User Interface for the authentication tables
""" """
from plugin_dbui import GridModifier from plugin_dbui import FormModifier, GridModifier
class AuthUI(object): class AuthUI(object):
...@@ -62,6 +62,13 @@ class AuthUI(object): ...@@ -62,6 +62,13 @@ class AuthUI(object):
T (gluon.languages.translator): language translator T (gluon.languages.translator): language translator
""" """
# ....................................................................
#
# Form
#
mdf = FormModifier("auth_user")
mdf.hide_fields("password")
# .................................................................... # ....................................................................
# #
# Grid # Grid
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment