Login page 'Sign-in text' not displayed for LDAP


After last update (I believe), ‘Sign-in text’ configured in General>Sign in restrictions" is not displayed for LDAP section of login/signin page.
GitLab Community Edition 15.4.1

Until now, I had some script that added the text after every update but know it’s displayed only on ‘Standard’ login page, but not in LDAP.

Disabling standard login (unchecking Allow password authentication for the web interface) disables ‘Standard’ login but the text is not displayed.

In the past, the change the file that had to be edited was:
There was a change a while ago on the structure but then I managed to find a way. But now I can’t understand what’s there and can’t figure it out.


if someone is interested to fix this, here is how I’ve done it:

  1. open gitlab_homedire/embedded/service/gitlab-rails/app/views/devise/sessions/_new_ldap.html.haml
  2. add the following text to it
- if Gitlab::CurrentSettings.sign_in_text.present? && Feature.enabled?(:restyle_login_page, @project)
      = markdown_field(Gitlab::CurrentSettings.current_application_settings, :sign_in_text)
  1. restart gitlab