mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update account.php
This commit is contained in:
1 parent
a56463e56e
commit
1cf66b5934
1 file changed
+1
-1
@@ -1117,7 +1117,7 @@ App::patch('/v1/account/email')
|
||||
]
|
||||
));
|
||||
|
||||
$user = $projectDB->updateDocument($document, ['email' => $email]);
|
||||
$user = $projectDB->updateDocument($document);
|
||||
|
||||
$projectDB->addUniqueKey(\md5($document['$collection'].':'.'email'.'='.$email));
|
||||
|
||||
|
||||
Reference in new issue
Block a user