Skip to content

Commit 30b1c7a

Browse files
committed
do not return encrypted password in forms
1 parent 20a210f commit 30b1c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py4web/utils/form.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def make(self, field, value, error, title, placeholder="", readonly=False):
162162
class PasswordWidget:
163163
def make(self, field, value, error, title, placeholder="", readonly=False):
164164
return INPUT(
165-
_value=field.formatter("" if value is None else value),
165+
_value="",
166166
_type="password",
167167
_id=to_id(field),
168168
_name=field.name,

0 commit comments

Comments
 (0)