Skip to content

Extension for Nette Framework: set user, password and presenters names to secure and they will be secured via simple http authentification

License

Notifications You must be signed in to change notification settings

ublaboo/simple-http-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Extension for Nette Framework: set user, password and presenters names to secure and they will be secured via simple http authentification

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages