Skip to content

Delay devise login lock settings

Aboobacker MK requested to merge delay_devise_lock_settings into master

What does this MR do and why?

Delay devise login lock settings

Delay devise login lock settings till Gitlab's database load balancer is initialised to ensure that load is properly distributed.

Fixes #441311 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Open rails console and update max login attempts
ApplicationSetting.first.update(max_login_attempts: 34)
  1. Restart rails console

  2. Ensure that application setting is reflected on the Devise config

Devise.maximum_attempts
Edited by Aboobacker MK

Merge request reports