mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 16:38:21 -04:00
[users] Refactor constants
This commit is contained in:
parent
9cd1ef93bd
commit
8232ca626c
2 changed files with 8 additions and 10 deletions
|
@ -79,12 +79,6 @@ private:
|
|||
|
||||
PasswordCheckList m_passwordChecks;
|
||||
|
||||
const QRegExp USERNAME_RX = QRegExp( "^[a-z_][a-z0-9_-]*[$]?$" );
|
||||
const QRegExp HOSTNAME_RX = QRegExp( "^[a-zA-Z0-9][-a-zA-Z0-9_]*$" );
|
||||
const int USERNAME_MAX_LENGTH = 31;
|
||||
const int HOSTNAME_MIN_LENGTH = 2;
|
||||
const int HOSTNAME_MAX_LENGTH = 63;
|
||||
|
||||
bool m_readyFullName;
|
||||
bool m_readyUsername;
|
||||
bool m_customUsername;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue