changeset 1639:8a485389330f

Increase MAX_USERNAME_LEN to 100
author Matt Johnston <matt@ucc.asn.au>
date Wed, 20 Mar 2019 23:47:25 +0800
parents 315fcba6960e
children 228b086794b7
files auth.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/auth.h	Wed Mar 20 16:42:47 2019 +0100
+++ b/auth.h	Wed Mar 20 23:47:25 2019 +0800
@@ -78,7 +78,7 @@
 void cli_auth_pubkey_cleanup(void);
 
 
-#define MAX_USERNAME_LEN 25 /* arbitrary for the moment */
+#define MAX_USERNAME_LEN 100 /* arbitrary for the moment */
 
 #define AUTH_TYPE_NONE      1
 #define AUTH_TYPE_PUBKEY    (1 << 1)