Admin login with "admin" username no more possible
Summary
login with "admin" username is not possible after upgrade from 9.2.5 to 9.3.8
Steps to reproduce
Try to login a user with "admin" as username
What is the current bug behavior?
It returns the following error in /var/log/gitlab/gitlab-rails/production.log
ActiveRecord::RecordInvalid (Validation failed: Username Admin is a reserved name): app/models/concerns/token_authenticatable.rb:53:in
block in add_authentication_token_field’
app/models/concerns/token_authenticatable.rb:47:in block in add_authentication_token_field’ app/models/user.rb:1000:in
rss_token’
app/helpers/rss_helper.rb:3:in rss_url_options’ app/views/dashboard/projects/index.html.haml:4:in
block in _app_views_dashboard_projects_index_html_haml___3518787007675771059_70138253630660'
app/views/dashboard/projects/index.html.haml:3:in _app_views_dashboard_projects_index_html_haml___3518787007675771059_70138253630660' app/controllers/dashboard/projects_controller.rb:10:in
index’
app/controllers/root_controller.rb:16:in index’ lib/gitlab/i18n.rb:39:in
with_locale’
lib/gitlab/i18n.rb:45:in with_user_locale’ app/controllers/application_controller.rb:303:in
set_locale’
lib/gitlab/performance_bar/peek_performance_bar_with_rack_body.rb:16:in call’ lib/gitlab/middleware/multipart.rb:93:in
call’
lib/gitlab/request_profiler/middleware.rb:14:in call’ lib/gitlab/middleware/go.rb:16:in
call’
lib/gitlab/etag_caching/middleware.rb:11:in call’ lib/gitlab/request_context.rb:18:in
call’`