Mirror authentication has no "username" field

Summary

The changes in this issue have added a "Password" drop down but there is no "Username" dropdown.

This is confusing for users, are they supposed to put username:password into this password field when using http authentication?

Steps to reproduce

  1. Project > Settings > Repository > Mirroring repositories

  2. Add HTTP URL

  3. Select "Pull"

  4. Password

Example Project

What is the current bug behavior?

It's not clear where to put the username.

What is the expected correct behavior?

Username: Password:

Relevant logs and/or screenshots

Output of checks

Results of GitLab environment info

Occurs on 11.2.1

Possible fixes

Rename dialogue box, update documentation or add a new dialogue box.

ZD: https://gitlab.zendesk.com/agent/tickets/102866 (Internal use only)

Assignee Loading
Time tracking Loading