[smarcet] - #5042 - Integration Testing : fix on Integrity constraint violation: 1062 Duplicate entry

'' for key 'openid_users_identifier_unique''
This commit is contained in:
smarcet 2013-12-02 11:59:24 -03:00
parent 4d5059c257
commit cae9e517c2
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ class CustomAuthProvider implements UserProviderInterface
//create user
$user = new OpenIdUser();
$user->external_id = $member->Email;
$user->identifier = $member->Email;
$user->last_login_date = gmdate("Y-m-d H:i:s", time());
$user->Save();
}