Sha256: 672ccdf2ae46ca37baa72d6f06c0f5ea5eb090c085a4c1f3c3cd3213d3ecb0ec
Contents?: true
Size: 355 Bytes
Versions: 21
Compression:
Stored size: 355 Bytes
Contents
module Typus module Authentication module HttpBasic protected include Base def authenticate @admin_user = FakeUser.new authenticate_or_request_with_http_basic(Typus.admin_title) do |user_name, password| user_name == Typus.username && password == Typus.password end end end end end
Version data entries
21 entries across 21 versions & 1 rubygems