Authentication method in Pull from a remote repository for a project vanishes when url format has been changed from ssh to http/https

Summary

Authentication method in Pull from a remote repository for a project vanishes when url format has been changed from ssh to http/https

Steps to reproduce

  1. Navigate to Repository Settings: Project > Settings > Respository

  2. Expand "Pull from a remote repository"

  3. Give an ssh url for mirroring.

  4. Change the "Authentication method" from "Password Authentication" to "SSH Public Key Authentication"

  5. Now change the url from ssh to http/https When you change this you will see the option to change the "Authentication method" vanishes.

What is the current bug behavior?

Option to change the Authentications method is Vanishing

What is the expected correct behavior?

Option to change the authentication method should not vanish

Relevant logs and/or screenshots

GITLAB-Project-Repository-mirror-screen-1 GITLAB-Project-Repository-mirror-screen-2

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Edited Sep 02, 2020 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading