mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
add enigma972 user bundle
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
user:
|
||||||
|
# if this value equal true, the User should confirm theire mail
|
||||||
|
check_mail: false
|
||||||
|
# The validity duration in secondes, 4 houres by default (14,400 sec)
|
||||||
|
reset_password_code_validity: 14400
|
||||||
|
# where to redirect after login
|
||||||
|
target: home
|
||||||
|
# the no reply email for this app
|
||||||
|
no_reply_mail: no-reply@mail.com
|
||||||
|
not_send_welcome_mail: true
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
user:
|
||||||
|
resource: '@UserBundle/Controller/'
|
||||||
|
type: annotation
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"bundles": {
|
||||||
|
"Enigma972\\UserBundle\\UserBundle": ["all"]
|
||||||
|
},
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"config/": "%CONFIG_DIR%/"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<bg=blue;fg=white> </>
|
||||||
|
<bg=blue;fg=white> Next: UserBundle Configuration </>
|
||||||
|
<bg=blue;fg=white> </>
|
||||||
|
|
||||||
|
* Create an User entity and extend Enigma972\UserBundle\Entity\User class
|
||||||
|
|
||||||
|
* And add all properties and methods you needs, it is your!
|
||||||
|
|
||||||
|
Documentation: https://www.github.com/enigma972/user-bundle
|
||||||
Reference in New Issue
Block a user