Resolve "Resolve auto-correctable RuboCop offenses (Exclude-only) in .rubocop_todo/**/*.yml"
What does this MR do and why?
This MR removes a redundant return in the Authentication#login method in lib/gitlab/auth/database/authentication.rb to comply with the Style/RedundantReturn RuboCop rule. The change does not affect functionality but ensures consistent code style across the codebase.
References
Related issue :#239356
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #239356
Edited by Youssef Mohamed