Commit graph

2 commits

Author SHA1 Message Date
Kegan Dougal 504aa91786 Read the right username field when performing account deactivation
`Login` has 2 username fields, and we were always checking the
deprecated one. Instead, check both.
2021-08-02 12:39:37 +01:00
Loïck Bonniot 4e8c484618
Implement account deactivation (#1455)
* Implement account deactivation

See #610
Signed-off-by: Loïck Bonniot <git@lesterpig.com>

* Rename 'is_active' to 'is_deactivated'

Signed-off-by: Loïck Bonniot <git@lesterpig.com>

Co-authored-by: Kegsay <kegan@matrix.org>
2020-10-02 17:18:20 +01:00