Browse Source

auto confirm email for facebook user

Bastien Sevajol 11 years ago
parent
commit
2550c4ac51
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Muzich/CoreBundle/Entity/User.php

+ 1 - 0
src/Muzich/CoreBundle/Entity/User.php View File

@@ -1180,6 +1180,7 @@ class User extends BaseUser
1180 1180
   {
1181 1181
     $this->facebook_id = $facebook_id;
1182 1182
     $this->password_set = true;
1183
+    $this->setEmailConfirmed(true);
1183 1184
   }
1184 1185
 
1185 1186
   /** @return string */