Sha256: a503ffb880433f98f3e67196fe1ef5c8a46ff66bc7f3fb9bb7e07241501c890f
Contents?: true
Size: 359 Bytes
Versions: 4
Compression:
Stored size: 359 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
4 entries across 4 versions & 1 rubygems