-
-
Notifications
You must be signed in to change notification settings - Fork 630
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use no_driver parameter and modify post-install.txt
- Loading branch information
Showing
3 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
11 changes: 6 additions & 5 deletions
11
friendsofsymfony/user-bundle/2.1/config/packages/fos_user.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
fos_user: | ||
db_driver: orm | ||
db_driver: no_driver # valid values are 'orm', 'mongodb' and 'couchdb' | ||
user_class: App\Entity\User | ||
firewall_name: main | ||
service: | ||
mailer: fos_user.mailer.noop | ||
firewall_name: main | ||
user_class: App\Entity\User | ||
from_email: | ||
address: "address" | ||
sender_name: "name" | ||
address: "%env(MAILER_SENDER_ADDRESS)%" | ||
sender_name: "%env(MAILER_SENDER_NAME)%" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,9 @@ | |
"copy-from-recipe": { | ||
"config/": "%CONFIG_DIR%/", | ||
"src/": "%SRC_DIR%/" | ||
}, | ||
"env": { | ||
"MAILER_SENDER_ADDRESS": "[email protected]", | ||
"MAILER_SENDER_NAME": "John Doe" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters