add email to user and allow to connect through email or username

This commit is contained in:
2018-07-10 12:53:44 +02:00
parent 45a9937dbb
commit 25d00877ae
12 changed files with 395 additions and 0 deletions

View File

@@ -14,6 +14,21 @@ Chill\MainBundle\Entity\User:
username:
type: string
length: 80
usernameCanonical:
name: username_canonical
type: string
length: 80
unique: true
email:
type: string
length: 150
nullable: true
emailCanonical:
name: email_canonical
type: string
length: 150
nullable: true
unique: true
password:
type: string
length: 255