docs: endpoint documentation
This commit is contained in:
parent
cfda76860b
commit
f40f1d9f75
6 changed files with 83 additions and 3 deletions
|
@ -859,7 +859,9 @@ impl Users {
|
|||
self.remove_device(&user_id, &device_id?)?;
|
||||
}
|
||||
|
||||
// Set the password to "" to indicate a deactivated account
|
||||
// Set the password to "" to indicate a deactivated account. Hashes will never result in an
|
||||
// empty string, so the user will not be able to log in again. Systems like changing the
|
||||
// password without logging in should check if the account is deactivated.
|
||||
self.userid_password.insert(user_id.to_string(), "")?;
|
||||
|
||||
// TODO: Unhook 3PID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue