s.set_access_checker_cb {
if s.uri =~ /^\/auth\//
basic = HTTP2::Server::BasicAuth.new({
:realm_name => "Private Area",
:htpasswd => "#{root_dir}/htdocs/auth/.htpasswd",
})
basic.authn(s)
end
}
-
Notifications
You must be signed in to change notification settings - Fork 0
trusterd/mruby-trusterd-basicauth
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published