<?php

// ==============================================================================
//
// This file is part of the WelStory.
//
// Create by Welfony Support <*****@*****.**>
// Copyright (c) 2012-2014 welfony.com
//
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
//
// ==============================================================================
use Welfony\Welstory\Controller\API\UserController;
$app->post('/socials/login', function () use($app) {
    $ctrl = new UserController();
    $ctrl->signInWithSocial();
});