Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Test

on:
push:
branches: [ "master" ]
branches: [ "develop" ]
pull_request:
branches: [ "master" ]
branches: [ "master", "develop" ]

jobs:
tests:
Expand Down
2 changes: 0 additions & 2 deletions config/l5-swagger.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@
'annotations' => [
base_path('vendor/juzaweb/core/src'),
base_path('vendor/juzaweb/api/src'),
base_path('vendor/juzaweb/contact/src'),
base_path('modules/admin/src'),
base_path('modules/image-proxy/src'),
],
],
],
Expand Down
7 changes: 5 additions & 2 deletions modules/admin/src/Models/Client.php
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
<?php

/**
* JUZAWEB CMS - Laravel CMS for Your Project
*
* @package juzaweb/cms
* @author The Anh Dang
*
* @link https://cms.juzaweb.com
*
* @license GNU V2
*/

namespace Juzaweb\Modules\Admin\Models;

use Illuminate\Contracts\Auth\Authenticatable;
use Laravel\Passport\Client as BaseClient;
use Laravel\Passport\Scope;

class Client extends BaseClient
{
/**
* Determine if the client should skip the authorization prompt.
*
* @param \Laravel\Passport\Scope[] $scopes
* @param Scope[] $scopes
*/
public function skipsAuthorization(Authenticatable $user, array $scopes): bool
{
Expand Down
Loading