We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bea2b2 commit e423216Copy full SHA for e423216
ui/src/views/system-setting/authentication/component/Setting.vue
@@ -90,10 +90,13 @@ const form = ref<any>({
90
91
const submit = async (formEl: FormInstance | undefined) => {
92
if (!formEl) return;
93
- console.log(form)
94
await formEl.validate((valid, fields) => {
95
if (valid) {
96
- authApi.putLoginSetting(form.value, loading).then((res) => {
+ const params = {
+ default_value: form.value.default_value,
97
+ max_attempts: form.value.max_attempts,
98
+ };
99
+ authApi.putLoginSetting(params, loading).then((res) => {
100
MsgSuccess(t('common.saveSuccess'))
101
})
102
} else {
0 commit comments