implemented social identities management page + pw editing page. probably need to fix backend
This commit is contained in:
@@ -93,6 +93,10 @@ class Authenticator
|
||||
$identity->provider = $providerAlias;
|
||||
$identity->provider_user_id = $details->id;
|
||||
$identity->access_token = $details->access_token;
|
||||
$identity->nick_name = $details->nickname;
|
||||
$identity->full_name = $details->full_name;
|
||||
$identity->avatar = $details->avatar;
|
||||
$identity->email = $details->email;
|
||||
$this->identities->store($identity);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,9 +8,15 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @property $provider
|
||||
* @property $provider_user_id
|
||||
* @property $access_token
|
||||
* @property $nick_name
|
||||
* @property $full_name
|
||||
* @property $avatar
|
||||
* @property $email
|
||||
*/
|
||||
class OAuthIdentity extends Model
|
||||
{
|
||||
protected $guarded = [];
|
||||
|
||||
protected static $configuredTable = 'oauth_identities';
|
||||
|
||||
public static function configureTable($table)
|
||||
|
||||
Reference in New Issue
Block a user