another one
This commit is contained in:
@@ -6,7 +6,7 @@ use App\Http\Controllers\Controller;
|
|||||||
use Illuminate\Foundation\Auth\AuthenticatesUsers;
|
use Illuminate\Foundation\Auth\AuthenticatesUsers;
|
||||||
use Socialite;
|
use Socialite;
|
||||||
use Auth;
|
use Auth;
|
||||||
use Illuminate\Foundation\Auth\User;
|
use App\User;
|
||||||
|
|
||||||
class LoginController extends Controller
|
class LoginController extends Controller
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -29,4 +29,6 @@ class User extends Authenticatable
|
|||||||
protected $hidden = [
|
protected $hidden = [
|
||||||
'password', 'remember_token',
|
'password', 'remember_token',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
protected $guarded = [];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ class CreateUsersTable extends Migration
|
|||||||
$table->increments('id');
|
$table->increments('id');
|
||||||
$table->string('name');
|
$table->string('name');
|
||||||
$table->string('character_id');
|
$table->string('character_id');
|
||||||
|
$table->string('avatar');
|
||||||
$table->string('access_token');
|
$table->string('access_token');
|
||||||
$table->string('refresh_token');
|
$table->string('refresh_token');
|
||||||
$table->integer('expires_in');
|
$table->integer('expires_in');
|
||||||
|
|||||||
Reference in New Issue
Block a user