Sha256: 1a35b84af172dca377a6843d0b4e9ea5774e85deeb2636654b7a2297ea52127e
Contents?: true
Size: 340 Bytes
Versions: 27
Compression:
Stored size: 340 Bytes
Contents
module Pageflow module EntryPasswordProtection private def check_entry_password_protection(entry) return true unless entry.password_protected? return true if authenticate_with_http_basic { |_, password| entry.authenticate(password) } request_http_basic_authentication('Pageflow') false end end end
Version data entries
27 entries across 27 versions & 1 rubygems