mirror of
https://gitlab.com/fabinfra/fabaccess/fabaccess-api.git
synced 2025-03-12 14:51:42 +01:00
Add an 'invalid password' error
This commit is contained in:
parent
c00a274a16
commit
d04d930bd3
@ -36,9 +36,13 @@ struct UserSystem
|
|||||||
enum AddUserError {
|
enum AddUserError {
|
||||||
alreadyExists @0;
|
alreadyExists @0;
|
||||||
# An user with that username already exists
|
# An user with that username already exists
|
||||||
|
|
||||||
usernameInvalid @1;
|
usernameInvalid @1;
|
||||||
# The provided username is unusable, e.g. contains invalid characters,
|
# The provided username is unusable, e.g. contains invalid characters,
|
||||||
# is too long or too short.
|
# is too long or too short.
|
||||||
|
|
||||||
|
passwordInvalid @2;
|
||||||
|
# The provided password is unusable, e.g. it's of zero length
|
||||||
}
|
}
|
||||||
error @0 :AddUserError;
|
error @0 :AddUserError;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user