Extend username limit to 128-1

This commit is contained in:
Lauri Kasanen
2023-11-06 15:22:23 +02:00
parent 73c3bda8cd
commit fb7570709a
5 changed files with 8 additions and 6 deletions

View File

@@ -2,6 +2,7 @@
#include <stdint.h>
#include "GetAPIEnums.h"
#include "datelog.h"
#include "kasmpasswd.h"
#define BUFSIZE 65536
#define DBUFSIZE (BUFSIZE * 3) / 4 - 20
@@ -57,7 +58,7 @@ typedef struct {
char *tin_buf;
char *tout_buf;
char user[32];
char user[USERNAME_LEN];
char ip[64];
} ws_ctx_t;