File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
frontend/src/views/setting/safe Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,7 @@ const form = reactive({
224
224
allowIPs: ' ' ,
225
225
bindDomain: ' ' ,
226
226
noAuthSetting: ' 200 - ' + i18n .global .t (' setting.help200' ),
227
+ noAuthSettingValue: ' 200' ,
227
228
});
228
229
229
230
const unset = ref (i18n .global .t (' setting.unSetting' ));
@@ -246,6 +247,7 @@ const search = async () => {
246
247
form .mfaInterval = Number (res .data .mfaInterval );
247
248
form .allowIPs = res .data .allowIPs .replaceAll (' ,' , ' \n ' );
248
249
form .bindDomain = res .data .bindDomain ;
250
+ form .noAuthSettingValue = res .data .noAuthSetting ;
249
251
if (res .data .noAuthSetting !== ' 200' ) {
250
252
form .noAuthSetting = res .data .noAuthSetting + ' - ' + i18n .global .t (' setting.error' + res .data .noAuthSetting );
251
253
} else {
@@ -297,7 +299,7 @@ const onChangeBind = () => {
297
299
bindRef .value .acceptParams ({ ipv6: form .ipv6 , bindAddress: form .bindAddress });
298
300
};
299
301
const onChangeResponse = () => {
300
- responseRef .value .acceptParams ({ noAuthSetting: form .noAuthSetting });
302
+ responseRef .value .acceptParams ({ noAuthSetting: form .noAuthSettingValue });
301
303
};
302
304
const onChangeBindDomain = () => {
303
305
domainRef .value .acceptParams ({ bindDomain: form .bindDomain });
You can’t perform that action at this time.
0 commit comments