enable_sudo_mode_after_pwd_based_login.diff

Jens Krämer, 2015-08-21 11:07

Download (481 Bytes)

View differences:

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)