Skip to content

Commit 1d35dc8

Browse files
committed
AuthenticationServiceの非推奨を調整
1 parent dfab2ce commit 1d35dc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/baser-core/src/BaserCorePlugin.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ public function setupSessionAuth(AuthenticationService $service, array $authSett
561561
];
562562
}
563563

564-
$service->loadIdentifier('Authentication.Password', [
564+
$service->identifiers()->load('Authentication.Password', [
565565
'fields' => [
566566
'username' => $authSetting['username'],
567567
'password' => $authSetting['password']
@@ -604,7 +604,7 @@ public function setupJwtAuth(AuthenticationService $service, array $authSetting,
604604
'userModel' => $authSetting['userModel'],
605605
],
606606
]);
607-
$service->loadIdentifier('Authentication.JwtSubject', [
607+
$service->identifiers()->load('Authentication.JwtSubject', [
608608
'resolver' => [
609609
'className' => 'BaserCore.PrefixOrm',
610610
'userModel' => $authSetting['userModel'],
@@ -618,7 +618,7 @@ public function setupJwtAuth(AuthenticationService $service, array $authSetting,
618618
'password' => $authSetting['password']
619619
],
620620
]);
621-
$service->loadIdentifier('Authentication.Password', [
621+
$service->identifiers()->load('Authentication.Password', [
622622
'returnPayload' => false,
623623
'fields' => [
624624
'username' => $authSetting['username'],

0 commit comments

Comments
 (0)