@@ -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