Skip to content

Add "phone_verification_code_enabled" into API

What does this MR do and why?

Related issue: #3520 (closed)

Support updating Application settings configuration phone_verification_code_enabled field through API.

Screenshots or screen recordings

When trying to update phone_verification_code_enabled via API:

curl --location --request PUT 'http://127.0.0.1:3000/api/v4/application/settings?phone_verification_code_enabled=false' \
--header 'PRIVATE-TOKEN: {PERSONAL-ACCESS-TOKEN}'
Before After

How to set up and validate locally

Just call API directly:

curl --location --request PUT 'http://127.0.0.1:3000/api/v4/application/settings?phone_verification_code_enabled=false' \
--header 'PRIVATE-TOKEN: {PERSONAL-ACCESS-TOKEN}'

Looking forward to modifying the phone_verification_code_enabled field successfully.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

路志远 编辑于

合并请求报告

加载中