public function down() { $this->dropTable(Auth::tableName()); }
/** * @param BaseOAuth $client */ public function authCallback(BaseOAuth $client) { $user = Auth::clientUser($client); (new LoginForm(['username' => $user->username]))->login(false); }