How to setup SimpleAuthenticator 02/11/2014
With DI extension in config.neon
nette: security: users: john: p4ss admin: P4S5w0rD@! is the same as long version without using DI extension in config.neon
services: - Nette\Security\SimpleAuthenticator({john:p4ss, admin: 'P4S5w0rD@!'})
With DI extension in config.neon
nette:
security:
users:
john: p4ss
admin: P4S5w0rD@!
is the same as long version without using DI extension in config.neon
services:
- Nette\Security\SimpleAuthenticator({john:p4ss, admin: 'P4S5w0rD@!'})