This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  4aec1717ea1e6627ea87e2491ac64aa82500f6cf (commit)
      from  26a798c5ab549f232dcd56ee20eb9281fd99633a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=4aec1717ea1e6627ea87e2491ac64aa82500f6cf

commit 4aec1717ea1e6627ea87e2491ac64aa82500f6cf
Author: Franck Villaume <[email protected]>
Date:   Sun Oct 2 19:24:07 2016 +0200

    extend user name to 32 chars: align with useradd limitation

diff --git a/src/common/include/account.php b/src/common/include/account.php
index 01dd569..79e7593 100644
--- a/src/common/include/account.php
+++ b/src/common/include/account.php
@@ -4,7 +4,7 @@
  *
  * Copyright 1999-2001, VA Linux Systems, Inc.
  * Copyright 2010, Franck Villaume - Capgemini
- * Copyright 2012, Franck Villaume - TrivialDev
+ * Copyright 2012,2016, Franck Villaume - TrivialDev
  * Copyright (C) 2015  Inria (Sylvain Beucler)
  *
  * This file is part of FusionForge. FusionForge is free software;
@@ -100,8 +100,8 @@ function account_namevalid($name, $unix=false, 
$check_exists=true) {
                $GLOBALS['register_error'] = _('Name is too short. It must be 
at least 3 characters.');
                return false;
        }
-       if (strlen($name) > 15) {
-               $GLOBALS['register_error'] = _('Name is too long. It must be 
less than 15 characters.');
+       if (strlen($name) > 32) {
+               $GLOBALS['register_error'] = _('Name is too long. It must be 
less than 32 characters.');
                return false;
        }
 

-----------------------------------------------------------------------

Summary of changes:
 src/common/include/account.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to