HaikuDepot: Nickname Length
HDS has increased the length of the nickname to 32 characters on version 1.0.147 and this change supports that change in the desktop client. Resolves to #18343 Change-Id: Iae07acc165165e91b04cef7ebc1190d241d9a053 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6307 Tested-by: Commit checker robot <[email protected]> Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
40e5560a3c
commit
86ee86f5a9
@@ -11,10 +11,10 @@
|
||||
|
||||
|
||||
#define MIN_LENGTH_NICKNAME 4
|
||||
#define MAX_LENGTH_NICKNAME 16
|
||||
#define MAX_LENGTH_NICKNAME 32
|
||||
|
||||
#define MIN_LENGTH_PASSWORD_CLEAR 8
|
||||
#define MIN_UPPER_PASSWORD_CLEAR 2
|
||||
#define MIN_UPPER_PASSWORD_CLEAR 1
|
||||
#define MIN_DIGITS_PASSWORD_CLEAR 2
|
||||
|
||||
/*! 1 if the character would be suitable for use in an email address mailbox
|
||||
@@ -120,6 +120,7 @@ ValidationUtils::IsValidEmail(const BString& value)
|
||||
}
|
||||
|
||||
|
||||
// TODO: needs to reflect the data from the server rather than be hard coded
|
||||
/*static*/ bool
|
||||
ValidationUtils::IsValidPasswordClear(const BString& value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user