Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
limbra
limbra
Commits
43a528ee
Commit
43a528ee
authored
Aug 28, 2017
by
LE GAC Renaud
Browse files
Update ui_auth.py to hide the field password in the user form.
parent
f05b540c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
modules/ui_auth.py
modules/ui_auth.py
+8
-1
No files found.
modules/ui_auth.py
View file @
43a528ee
...
...
@@ -2,7 +2,7 @@
"""User Interface for the authentication tables
"""
from
plugin_dbui
import
GridModifier
from
plugin_dbui
import
FormModifier
,
GridModifier
class
AuthUI
(
object
):
...
...
@@ -62,6 +62,13 @@ class AuthUI(object):
T (gluon.languages.translator): language translator
"""
# ....................................................................
#
# Form
#
mdf
=
FormModifier
(
"auth_user"
)
mdf
.
hide_fields
(
"password"
)
# ....................................................................
#
# Grid
...
...
LE GAC Renaud
@legac
mentioned in issue
#87 (closed)
·
Oct 11, 2017
mentioned in issue
#87 (closed)
mentioned in issue #87
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment