implemented social identities management page + pw editing page. probably need to fix backend

This commit is contained in:
2018-07-25 23:07:11 +02:00
parent 57911377ef
commit 2e075799f2
35 changed files with 541 additions and 301 deletions
@@ -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)