Sha256: e175e1463ba414b61d57ef0b0b3ecf4f0539b9dae5e2d7dea7f76c0b40d21df3
Contents?: true
Size: 353 Bytes
Versions: 33
Compression:
Stored size: 353 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 |username, password| username == Typus.username && password == Typus.password end end end end end
Version data entries
33 entries across 33 versions & 3 rubygems