Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.16 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.16 KB

Build Status Latest Stable Version License Total Downloads Gitter

SimpleHttpAuth

1, Install via composer

composer require ublaboo/simple-http-auth

2, Register extension in config.neon:

extensions:
	simpleHttpAuth: Ublaboo\SimpleHttpAuth\DI\SimpleHttpAuthExtension

3, Tell which presenters shoul be secured (in case no presenter name given, all presenters are secured). Format - Module:Module:Presenter:

simpleHttpAuth:
	username: admin
	password: rbxpmYsPB6RSlqMIUV8i
	presenters: [Front:Admin] # Secure presenter class App\FrontModule\Presenters\AdminPresenter