diff options
author | Alexander Randa <aranda@rocketfuel.com> | 2017-03-24 11:32:03 +0000 |
---|---|---|
committer | Alexander Randa <aranda@rocketfuel.com> | 2017-03-24 11:32:03 +0000 |
commit | 7a1236031aabd900facdbe7bd4940e03175d477b (patch) | |
tree | 930dbd18724ceb4e5d73a5d58c47acf30c0271db /app/views/admin/users/_access_levels.html.haml | |
parent | f74e9245cb18582caa79abd4b7c0b942b9dae851 (diff) | |
download | gitlab-ce-7a1236031aabd900facdbe7bd4940e03175d477b.tar.gz |
Fix projects_limit RangeError on user create
Diffstat (limited to 'app/views/admin/users/_access_levels.html.haml')
-rw-r--r-- | app/views/admin/users/_access_levels.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/users/_access_levels.html.haml b/app/views/admin/users/_access_levels.html.haml index 7855239dfe5..794aaec89bd 100644 --- a/app/views/admin/users/_access_levels.html.haml +++ b/app/views/admin/users/_access_levels.html.haml @@ -2,7 +2,7 @@ %legend Access .form-group = f.label :projects_limit, class: 'control-label' - .col-sm-10= f.number_field :projects_limit, min: 0, class: 'form-control' + .col-sm-10= f.number_field :projects_limit, min: 0, max: Gitlab::Database::MAX_INT_VALUE, class: 'form-control' .form-group = f.label :can_create_group, class: 'control-label' |