settings: Improve error message when deactivating the last user.

This PR was originally started by Rishi Gupta (see #10383).
This commit is contained in:
Rishi Gupta
2018-08-20 23:14:46 -07:00
committed by Tim Abbott
parent 7fb674cc58
commit dd0126ff1b
5 changed files with 41 additions and 5 deletions

View File

@@ -93,6 +93,8 @@ IGNORED_PHRASES = [
r"was too large; the maximum file size is 25MiB.",
r"selected message",
r"a-z",
r"organization administrator",
r"user",
# SPECIAL CASES
# Enter is usually capitalized