diff --git a/shellinabox/launcher.c b/shellinabox/launcher.c index 6256d95..5348b6c 100644 --- a/shellinabox/launcher.c +++ b/shellinabox/launcher.c @@ -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; } }