lizhen_gitee пре 1 година
родитељ
комит
5b6531c28e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      application/common/library/Auth.php

+ 1 - 1
application/common/library/Auth.php

@@ -26,7 +26,7 @@ class Auth
     //默认配置
     protected $config = [];
     protected $options = [];
-    protected $allowFields = ['id', 'username', 'mobile', 'simplemobile', 'avatar', 'email', 'firstname', 'lastname', 'height','age','weight','address','notice_type','whatsapp'];
+    protected $allowFields = ['id', 'username', 'mobile', 'simplemobile', 'avatar', 'email', 'firstname', 'lastname', 'height','age','weight','address','notice_email','notice_whatsapp','whatsapp'];
 
     public function __construct($options = [])
     {