7eb26c7ff7
If internal auth is disabled and user is not an LDAP user, present the user with an alert to create a personal access token if he does not have one already.
9 lines
590 B
Text
9 lines
590 B
Text
- if show_no_password_message?
|
|
.no-password-message.alert.alert-warning
|
|
- translation_params = { protocol: gitlab_config.protocol.upcase, set_password_link: link_to_set_password }
|
|
- set_password_message = _("You won't be able to pull or push project code via %{protocol} until you %{set_password_link} on your account") % translation_params
|
|
= set_password_message.html_safe
|
|
.alert-link-group
|
|
= link_to _("Don't show again"), profile_path(user: {hide_no_password: true}), method: :put
|
|
|
|
|
= link_to _('Remind later'), '#', class: 'hide-no-password-message'
|