Add Db auth user backend parameters in config file provided by skel
This commit is contained in:
parent
f662837ffd
commit
7b635a4f00
1 changed files with 24 additions and 0 deletions
|
@ -226,6 +226,30 @@ auth:
|
||||||
# CAS Fake authenticated user
|
# CAS Fake authenticated user
|
||||||
#fake_authenticated_user: 'myusername'
|
#fake_authenticated_user: 'myusername'
|
||||||
|
|
||||||
|
#
|
||||||
|
# Database user backend
|
||||||
|
#
|
||||||
|
db:
|
||||||
|
# DSN (required)
|
||||||
|
dsn: "${db.dsn}"
|
||||||
|
# Username (optional but could be required with some PDO drivers)
|
||||||
|
user: "${db.user}"
|
||||||
|
# Password (optional)
|
||||||
|
password: "${db.password}"
|
||||||
|
# PDO options (optional)
|
||||||
|
options: "${db.options}"
|
||||||
|
# Users table name (optional, default: users)
|
||||||
|
#users_table: "users"
|
||||||
|
# Username field name (optional, default: username)
|
||||||
|
#username_field: "username"
|
||||||
|
# Password field name (optional, default: password)
|
||||||
|
#password_field: "password"
|
||||||
|
# Exposed users table fields in resulting EesyPHP\Auth\User object
|
||||||
|
# (optional, defailt: name, mail)
|
||||||
|
#exposed_fields:
|
||||||
|
# - "name"
|
||||||
|
# - "mail"
|
||||||
|
|
||||||
#
|
#
|
||||||
# LDAP user backend
|
# LDAP user backend
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue