mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 17:14:10 -08:00
8ace30ee23
Newer Laravel uses Symfony mailer instead of SwiftMailer, and that means that some configs and functionality have changed In this change, we update config/mail.php with the new config layout and name/functionality changes of note: * New configuration layout supporting lots of new/different mailers * MAIL_DRIVER has become MAIL_MAILER, though we'll support both * MAIL_ENCRYPTION is mostly useless, and we mark it as such -- symfony mailer detects which type of encryption to use automagically. * MAIL_TLS_VERIFY_PEER is now available in case of self-signed certificates on the mail server, of if you want to access it by a different name, or by IP Accordingly, we also update the .env examples, docker configs, and the .env builder in the snipeit.sh installation script with the above changes
21 lines
504 B
Plaintext
21 lines
504 B
Plaintext
APP_ENV=testing
|
|
APP_DEBUG=true
|
|
APP_URL=http://snipe-it.localapp
|
|
DB_CONNECTION=sqlite_testing
|
|
DB_DEFAULT=sqlite_testing
|
|
DB_HOST=localhost
|
|
DB_PORT=3306
|
|
APP_KEY=base64:tu9NRh/a6+dCXBDGvg0Gv/0TcABnFsbT4AKxrr8mwQo=
|
|
|
|
|
|
# --------------------------------------------
|
|
# OPTIONAL: LOGIN THROTTLING
|
|
# (LOGIN_LOCKOUT_DURATIONin minutes)
|
|
# --------------------------------------------
|
|
LOGIN_MAX_ATTEMPTS=1000000
|
|
LOGIN_LOCKOUT_DURATION=100000000
|
|
|
|
MAIL_MAILER=log
|
|
MAIL_FROM_ADDR=you@example.com
|
|
MAIL_FROM_NAME=Snipe-IT
|