Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #8129

Closed
Open
Created Oct 22, 2014 by Administrator@rootOwner

user sign_in page doesn't appear, and get 500 with ldap enabled and signin disabled

Created by: arif-ali

with signin_enabled: false, and ldap enabled, the login screen doesn't appear and we get a 500 error page with the following error in the production.log

Started GET "/users/sign_in" for 127.0.0.1 at 2014-10-22 08:48:14 +0100
Processing by SessionsController#new as HTML
Completed 500 Internal Server Error in 70ms

ActionView::Template::Error (undefined local variable or method `provider' for #<#<Class:0x007fc09a3174c0>:0x007fc099eb6c50>):
    1: = form_tag(user_omniauth_callback_path(provider), id: 'new_ldap_user' ) do
    2:   = text_field_tag :username, nil, {class: "form-control top", placeholder: "LDAP Login", autofocus: "autofocus"}
    3:   = password_field_tag :password, nil, {class: "form-control bottom", placeholder: "Password"}
    4:   %br/
  app/views/devise/sessions/_new_ldap.html.haml:1:in `_app_views_devise_sessions__new_ldap_html_haml___1555464160440620159_70232599617160'
  app/views/devise/sessions/new.html.haml:20:in `_app_views_devise_sessions_new_html_haml___3088862564575240269_70232598795860'

Once you have signin_enabled: true, then all is good, except for the fact, I have a another tab for standard login, which I don't really want.

btw, running be80837a of the code, i.e. it reports as 7.4.0.rc1

Assignee
Assign to
Time tracking