Skip to content

MadeHQ/Silvertripe-BasicAuth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Silverstripe Basic Auth

How to Use

The DataObjectExtension is automatically applied to SiteTree

Otherwise just add the extension to any object that you need to have Basic Auth applied to, if the class has the Hierarchy extension then InheritBasicAuth becomes an option for all child objects

If using on SiteTree (Page)

Add the following code at the top of Page_Controller::init()

$this->data()->doVerifyBasicAuth($this->request);

This will trigger the checks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages