Skip to content

Commit 00041b0

Browse files
committed
Remove specialization of password duration setting
The specialization breaks saving the value entered by the user Fixes ledgersmb#9282
1 parent 9a9becb commit 00041b0

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

UI/Configuration/settings.html

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,7 @@
1313
<th align="right">[% ITEM.label %]</th>
1414
<td colspan="[% ITEM.info ? 1 : 2 %]" style='white-space:nowrap'>
1515
[%
16-
IF ITEM.name == 'password_duration';
17-
PROCESS input element_data = {
18-
name = ITEM.name,
19-
type = 'text',
20-
value = form.${ITEM.name},
21-
size = 5,
22-
'data-dojo-type' = 'dijit/form/NumberTextBox',
23-
'data-dojo-props' = 'constraints:{min:0.00001,max:3653}',
24-
};
25-
ELSIF ITEM.type == 'YES_NO' OR ITEM.type == 'YES_NO_AUTO';
16+
IF ITEM.type == 'YES_NO' OR ITEM.type == 'YES_NO_AUTO';
2617
IF form.${ITEM.name} == 'auto';
2718
AUTO="CHECKED";
2819
YES=undef;

0 commit comments

Comments
 (0)