Removed title case
This commit is contained in:
parent
a2f84c3bea
commit
3733d4d826
1 changed files with 2 additions and 2 deletions
|
@ -699,8 +699,8 @@ $utopia->patch('/v1/account/email')
|
||||||
->label('sdk.namespace', 'account')
|
->label('sdk.namespace', 'account')
|
||||||
->label('sdk.method', 'updateEmail')
|
->label('sdk.method', 'updateEmail')
|
||||||
->label('sdk.description', '/docs/references/account/update-email.md')
|
->label('sdk.description', '/docs/references/account/update-email.md')
|
||||||
->param('email', '', function () { return new Email(); }, 'Email Address')
|
->param('email', '', function () { return new Email(); }, 'Email address')
|
||||||
->param('password', '', function () { return new Password(); }, 'User Password')
|
->param('password', '', function () { return new Password(); }, 'User password')
|
||||||
->action(
|
->action(
|
||||||
function ($email, $password) use ($response, $user, $projectDB, $audit, $oauthKeys) {
|
function ($email, $password) use ($response, $user, $projectDB, $audit, $oauthKeys) {
|
||||||
if (!Auth::passwordVerify($password, $user->getAttribute('password'))) { // Double check user password
|
if (!Auth::passwordVerify($password, $user->getAttribute('password'))) { // Double check user password
|
||||||
|
|
Loading…
Reference in a new issue