@@ -680,15 +680,15 @@ public function startLogin(User $user): void
680680 /**
681681 * Gets User Info in Session
682682 */
683- private function getSessionUserInfo (): array
683+ protected function getSessionUserInfo (): array
684684 {
685685 return session (setting ('Auth.sessionConfig ' )['field ' ]) ?? [];
686686 }
687687
688688 /**
689689 * Removes User Info in Session
690690 */
691- private function removeSessionUserInfo (): void
691+ protected function removeSessionUserInfo (): void
692692 {
693693 session ()->remove (setting ('Auth.sessionConfig ' )['field ' ]);
694694 }
@@ -698,7 +698,7 @@ private function removeSessionUserInfo(): void
698698 *
699699 * @return int|string|null
700700 */
701- private function getSessionKey (string $ key )
701+ protected function getSessionKey (string $ key )
702702 {
703703 $ sessionUserInfo = $ this ->getSessionUserInfo ();
704704
@@ -710,7 +710,7 @@ private function getSessionKey(string $key)
710710 *
711711 * @param int|string|null $value
712712 */
713- private function setSessionKey (string $ key , $ value ): void
713+ protected function setSessionKey (string $ key , $ value ): void
714714 {
715715 $ sessionUserInfo = $ this ->getSessionUserInfo ();
716716 $ sessionUserInfo [$ key ] = $ value ;
@@ -720,7 +720,7 @@ private function setSessionKey(string $key, $value): void
720720 /**
721721 * Remove the key value in Session User Info
722722 */
723- private function removeSessionKey (string $ key ): void
723+ protected function removeSessionKey (string $ key ): void
724724 {
725725 $ sessionUserInfo = $ this ->getSessionUserInfo ();
726726 unset($ sessionUserInfo [$ key ]);
0 commit comments