Sha256: 3d110dabc3c7a43667e141806c436203bd17f0e98e66cda014e353c1594c88bf
Contents?: true
Size: 361 Bytes
Versions: 8
Compression:
Stored size: 361 Bytes
Contents
module Typus module Authentication module HttpBasic protected include Base def authenticate @current_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
8 entries across 8 versions & 1 rubygems