Added @ character to the list of valid username characters.
This commit is contained in:
parent
b4de69ed5c
commit
34bbeab314
1 changed files with 1 additions and 1 deletions
|
@ -1019,7 +1019,7 @@ static pam_handle_t *internalLogin(struct Service *service, struct Utmp *utmp,
|
|||
if (!((ch >= '0' && ch <= '9') ||
|
||||
(ch >= 'A' && ch <= 'Z') ||
|
||||
(ch >= 'a' && ch <= 'z') ||
|
||||
ch == '-' || ch == '_' || ch == '.')) {
|
||||
ch == '-' || ch == '_' || ch == '.' || ch == '@')) {
|
||||
goto invalid_user_name;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue