-
- Downloads
Fixes needed when GitLab sign-in is not enabled
When sign-in is disabled: - skip password expiration checks - prevent password reset requests - don’t show Password tab in User Settings - don’t allow login with username/password for Git over HTTP requests - render 404 on requests to Profiles::PasswordsController
Showing
- app/controllers/admin/application_settings_controller.rb 1 addition, 1 deletionapp/controllers/admin/application_settings_controller.rb
- app/controllers/application_controller.rb 1 addition, 1 deletionapp/controllers/application_controller.rb
- app/controllers/passwords_controller.rb 7 additions, 5 deletionsapp/controllers/passwords_controller.rb
- app/controllers/profiles/passwords_controller.rb 1 addition, 1 deletionapp/controllers/profiles/passwords_controller.rb
- app/controllers/sessions_controller.rb 1 addition, 1 deletionapp/controllers/sessions_controller.rb
- app/helpers/application_settings_helper.rb 1 addition, 1 deletionapp/helpers/application_settings_helper.rb
- app/helpers/button_helper.rb 2 additions, 2 deletionsapp/helpers/button_helper.rb
- app/helpers/projects_helper.rb 2 additions, 2 deletionsapp/helpers/projects_helper.rb
- app/models/application_setting.rb 1 addition, 1 deletionapp/models/application_setting.rb
- app/models/user.rb 8 additions, 4 deletionsapp/models/user.rb
- app/views/admin/application_settings/_form.html.haml 3 additions, 3 deletionsapp/views/admin/application_settings/_form.html.haml
- app/views/devise/sessions/new.html.haml 3 additions, 3 deletionsapp/views/devise/sessions/new.html.haml
- app/views/devise/shared/_signin_box.html.haml 2 additions, 2 deletionsapp/views/devise/shared/_signin_box.html.haml
- app/views/devise/shared/_tabs_ldap.html.haml 2 additions, 2 deletionsapp/views/devise/shared/_tabs_ldap.html.haml
- app/views/devise/shared/_tabs_normal.html.haml 1 addition, 1 deletionapp/views/devise/shared/_tabs_normal.html.haml
- app/views/layouts/nav/_profile.html.haml 1 addition, 1 deletionapp/views/layouts/nav/_profile.html.haml
- changelogs/unreleased/fixes-for-internal-auth-disabled.yml 4 additions, 0 deletionschangelogs/unreleased/fixes-for-internal-auth-disabled.yml
- config/initializers/1_settings.rb 1 addition, 1 deletionconfig/initializers/1_settings.rb
- db/migrate/20170629171610_rename_application_settings_signin_enabled_to_password_authentication_enabled.rb 15 additions, 0 deletions...ings_signin_enabled_to_password_authentication_enabled.rb
- db/post_migrate/20170629180131_cleanup_application_settings_signin_enabled_rename.rb 15 additions, 0 deletions...131_cleanup_application_settings_signin_enabled_rename.rb
Loading
Please register or sign in to comment