Suppress no-password-message alert for iAP-authenticated users

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Problem to solve

Instances whose user authenticate over iAP, will see the .no-password-message.gl-alert.gl-alert-warning

You won't be able to pull or push repositories via HTTPS until you create a personal access token on your account

although it doesn't really apply to them.

Admins have no way currently to suppress this message, except for modifying the code locally, or using an ad blocking rule in the browser.

Proposal

Implement a way to disable this message, for example via a check of the iAP login details, or a feature flag for an admin setting.

Edited by 🤖 GitLab Bot 🤖