瀏覽代碼

auto confirm email for facebook user

Bastien Sevajol 12 年之前
父節點
當前提交
2550c4ac51
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Muzich/CoreBundle/Entity/User.php

+ 1 - 0
src/Muzich/CoreBundle/Entity/User.php 查看文件

1180
   {
1180
   {
1181
     $this->facebook_id = $facebook_id;
1181
     $this->facebook_id = $facebook_id;
1182
     $this->password_set = true;
1182
     $this->password_set = true;
1183
+    $this->setEmailConfirmed(true);
1183
   }
1184
   }
1184
 
1185
 
1185
   /** @return string */
1186
   /** @return string */