diff options
author | crupest <crupest@outlook.com> | 2020-11-15 20:48:28 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-11-15 20:48:28 +0800 |
commit | 1bbc60966cea77ec6ed7895bea1a01ad9c090c3a (patch) | |
tree | 7c2c792c141def97603cb43d98e83d29ac718e9a /BackEnd/Timeline.ErrorCodes | |
parent | 667143d870679deb4be55122237e66d2d480946f (diff) | |
download | timeline-1bbc60966cea77ec6ed7895bea1a01ad9c090c3a.tar.gz timeline-1bbc60966cea77ec6ed7895bea1a01ad9c090c3a.tar.bz2 timeline-1bbc60966cea77ec6ed7895bea1a01ad9c090c3a.zip |
feat: Deleting root user now returns 400.
Diffstat (limited to 'BackEnd/Timeline.ErrorCodes')
-rw-r--r-- | BackEnd/Timeline.ErrorCodes/ErrorCodes.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs b/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs index df3d1861..90c4ed99 100644 --- a/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs +++ b/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs @@ -44,6 +44,7 @@ public const int UsernameConflict = 1_102_01_01;
public const int ChangePassword_BadOldPassword = 1_102_02_01;
public const int ChangePermission_RootUser = 1_102_03_01;
+ public const int Delete_RootUser = 1_102_04_01;
}
public static class UserAvatar
|