Skip to content

Commit fb1bd59

Browse files
committed
Wrap the hidden password in gettext
1 parent e65a71c commit fb1bd59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

authtools/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class BetterReadOnlyPasswordHashWidget(ReadOnlyPasswordHashWidget):
3535
def get_context(self, name, value, attrs):
3636
context = super().get_context(name, value, attrs)
3737
if any(item.get('value') for item in context['summary']):
38-
context['summary'] = [{'label': '*************'}]
38+
context['summary'] = [{'label': gettext('*************')}]
3939
return context
4040

4141

0 commit comments

Comments
 (0)