Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 565 Bytes

File metadata and controls

39 lines (29 loc) · 565 Bytes

HttpAuthExtension

Installation:

	"require": {
		"shastik/http-auth-extension": "dev-master"
	},
	"repositories": [
		{
			"type": "git",
			"url": "https://github.com/shastik/http-auth-extension.git"
		}
	],

Usage as simple as possible:

config.neon:

extensions:
	httpAuth: HttpAuthExtension\HttpAuthExtension

httpAuth:
	username: admin
	password: ***
	title: 'Frontend authentication' # [optional]

If you want to specify concrete URLs to be secured, add option:

httpAuth:
   secured_urls: ['/homepage/export']