Closed bluebaroncompsci closed 10 years ago
When I try to signup new users I get the following issue if I use the same email twice.
An exception occurred while executing 'INSERT INTO user (username, email, password, state, displayName, registration_key, is_registered, default_address_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)' with params {"1":null,"2":"top@secret","3":"topsecret","4":null,"5":null,"6":null,"7":0,"8":null}:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'top@secret' for key 'UNIQ_8D93D649E7927C74'
Config: 'user_entity_class' => 'User\Entity\User', 'enable_default_entities' => false, 'auth_identity_fields' => array('email'), 'login_after_registration' => true, 'use_redirect_parameter_if_present' => true, 'login_redirect_route' => 'home', 'logout_redirect_route' => 'home',
User\Entity\User /**
@ORM\Column(type="integer") */ protected $id;
/* @ORM\Column(type="string", nullable=true) / protected $username;
/* @ORM\Column(type="string", unique=true) / protected $email;
/* @ORM\Column(type="string") / protected $password;
/* @ORM\Column(type="integer", nullable=true) / protected $state;
/* @ORM\Column(type="string", nullable=true) / protected $displayName;
/**
Is this project abandoned?
Closing this for now. Please reopen if you still have the issue.
When I try to signup new users I get the following issue if I use the same email twice.
An exception occurred while executing 'INSERT INTO user (username, email, password, state, displayName, registration_key, is_registered, default_address_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)' with params {"1":null,"2":"top@secret","3":"topsecret","4":null,"5":null,"6":null,"7":0,"8":null}:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'top@secret' for key 'UNIQ_8D93D649E7927C74'
Config: 'user_entity_class' => 'User\Entity\User', 'enable_default_entities' => false, 'auth_identity_fields' => array('email'), 'login_after_registration' => true, 'use_redirect_parameter_if_present' => true, 'login_redirect_route' => 'home', 'logout_redirect_route' => 'home',
User\Entity\User /**
@ORM\Column(type="integer") */ protected $id;
/* @ORM\Column(type="string", nullable=true) / protected $username;
/* @ORM\Column(type="string", unique=true) / protected $email;
/* @ORM\Column(type="string") / protected $password;
/* @ORM\Column(type="integer", nullable=true) / protected $state;
/* @ORM\Column(type="string", nullable=true) / protected $displayName;
/**