From d56c762bd815d163b4d29afc733eeb9203028fc9 Mon Sep 17 00:00:00 2001 From: Cory Ory Date: Mon, 22 Aug 2016 01:25:24 +0100 Subject: [PATCH] Minecraft default max name is 16. --- pages/register.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/register.php b/pages/register.php index 57e09c4..5f6c80b 100644 --- a/pages/register.php +++ b/pages/register.php @@ -62,7 +62,7 @@ 'required' => true, 'isvalid' => true, 'min' => 3, - 'max' => 20, + 'max' => 16, 'unique' => 'users' ); $to_validation['username'] = array( @@ -77,7 +77,7 @@ 'required' => true, 'isvalid' => true, 'min' => 3, - 'max' => 20, + 'max' => 16, 'unique' => 'users' ); $mcname = htmlspecialchars(Input::get('username'));