summaryrefslogtreecommitdiff
path: root/app/Validator
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-28 22:00:54 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-28 22:00:54 -0500
commitfafc272085be0d62acb693b47ae9c86dc1c7a417 (patch)
tree2f645997ea0333dd75800d19351f219db0e7a6bb /app/Validator
parent1404bb5507353ff098dbae42a93714cb7f016319 (diff)
Added new template hook for application settings page
Diffstat (limited to 'app/Validator')
-rw-r--r--app/Validator/UserValidator.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Validator/UserValidator.php b/app/Validator/UserValidator.php
index d85d335f..e5953f30 100644
--- a/app/Validator/UserValidator.php
+++ b/app/Validator/UserValidator.php
@@ -17,10 +17,10 @@ class UserValidator extends Base
/**
* Common validation rules
*
- * @access private
+ * @access protected
* @return array
*/
- private function commonValidationRules()
+ protected function commonValidationRules()
{
return array(
new Validators\MaxLength('role', t('The maximum length is %d characters', 25), 25),