# File lib/devise_unix2_chkpwd_authenticatable/strategy.rb, line 43 def valid_http_auth? # HTTP authentication enabled and credentials present in the request mapping.to.http_authenticatable?(:unix2chkpwd) && request.authorization && request.authorization.match(/^Basic (.*)/) end