mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update app/controllers/api/users.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
This commit is contained in:
co-authored by
Jake Barnby
parent
0bd27c4182
commit
4c6961f7d6
@@ -1324,7 +1324,6 @@ App::patch('/v1/users/:userId/password')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (\strlen($password) === 0) {
|
||||
$user
|
||||
->setAttribute('password', '')
|
||||
|
||||
Reference in New Issue
Block a user