lib/tdiary/rack/auth/basic.rb in tdiary-4.1.1 vs lib/tdiary/rack/auth/basic.rb in tdiary-4.1.2

- old
+ new

@@ -1,10 +1,10 @@ require 'rack' require 'webrick/httpauth/htpasswd' module TDiary module Rack - module Auth + class Auth class PasswordFileNotFound < StandardError; end class Basic def initialize(app, file = '.htpasswd') @authenticator = ::Rack::Auth::Basic.new(app) do |user, pass|