Skip to content

Commit

Permalink
#1541 No need to create a digest when authentication is not digest
Browse files Browse the repository at this point in the history
  • Loading branch information
picman committed Aug 5, 2024
1 parent c801f57 commit bd09edf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ def controller_account_success_authentication_after(context = {})
user = context[:user]
return unless user

return unless Setting.plugin_redmine_dmsf['dmsf_webdav_authentication'] == 'Digest'

# Updates user's DMSF WebDAV digest
if controller.params[:password].present?
token = Token.find_by(user_id: user.id, action: 'dmsf-webdav-digest')
Expand Down

0 comments on commit bd09edf

Please sign in to comment.