1
0
Fork 0
mirror of synced 2024-06-20 03:30:30 +12:00

Removed title case

This commit is contained in:
Eldad Fux 2020-01-23 00:50:01 +02:00
parent a2f84c3bea
commit 3733d4d826

View file

@ -699,8 +699,8 @@ $utopia->patch('/v1/account/email')
->label('sdk.namespace', 'account')
->label('sdk.method', 'updateEmail')
->label('sdk.description', '/docs/references/account/update-email.md')
->param('email', '', function () { return new Email(); }, 'Email Address')
->param('password', '', function () { return new Password(); }, 'User Password')
->param('email', '', function () { return new Email(); }, 'Email address')
->param('password', '', function () { return new Password(); }, 'User password')
->action(
function ($email, $password) use ($response, $user, $projectDB, $audit, $oauthKeys) {
if (!Auth::passwordVerify($password, $user->getAttribute('password'))) { // Double check user password