ZF-Commons / ZfcUser

A generic user registration and authentication module for ZF2. Supports Zend\Db and Doctrine2. (Formerly EdpUser)
BSD 3-Clause "New" or "Revised" License
497 stars 343 forks source link

Specification Another column #645

Open flod1 opened 8 years ago

flod1 commented 8 years ago

Hello,

how could i change the column name of email or Password?

Statement could not be executed (42S22 - 1054 - Unknown column 'email' in 'where clause')

My Entity Class=>

class User implements UserInterface
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $UserID;

    /**
     * @ORM\Column(type="string", length=255)
     */
    protected $UserEmail;

    /**
     * @ORM\Column(type="string", length=32, nullable=true)
     */
    protected $UserPassword;`