This commit is contained in:
2026-10-03 14:33:08 +04:00
parent 6a73d760c4
commit 93a9442e1c
67 changed files with 941 additions and 698 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
namespace App\Providers;
use App\Auth\AzerothCoreUserProvider;
use App\Auth\VMangosUserProvider;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Auth;
use Laravel\Passport\Passport;
@@ -22,8 +22,8 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot(): void
{
Auth::provider('azerothcore', function ($app): AzerothCoreUserProvider {
return $app->make(AzerothCoreUserProvider::class);
Auth::provider('vmangos', function ($app): VMangosUserProvider {
return $app->make(VMangosUserProvider::class);
});
Passport::tokensExpireIn(now()->addDays(30));