Patch #20589 » enable_sudo_mode_after_pwd_based_login.diff
| app/controllers/account_controller.rb | ||
|---|---|---|
| 200 | 200 |
else |
| 201 | 201 |
# Valid user |
| 202 | 202 |
if user.active? |
| 203 |
update_sudo_timestamp! if Redmine::SudoMode.enabled? |
|
| 203 | 204 |
successful_authentication(user) |
| 204 | 205 |
else |
| 205 | 206 |
handle_inactive_user(user) |