🐛 fix(auth-control): Rename phone_variable to phone_number in mobile verification configuration

This commit is contained in:
web@ppanel 2025-02-10 13:05:10 +07:00
parent 046740f037
commit e5455aa1dc

View File

@ -368,13 +368,13 @@ export default function Page() {
</TableCell>
<TableCell className='text-right'>
<Textarea
defaultValue={data?.config?.platform_config?.phone_variable ?? ''}
defaultValue={data?.config?.platform_config?.phone_number ?? ''}
onBlur={(e) =>
updateConfig('config', {
...data?.config,
platform_config: {
...data?.config?.platform_config,
phone_variable: e.target.value,
phone_number: e.target.value,
},
})
}