File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ public function isLogged(): bool
213213 */
214214 public function login (
215215 array $ credentials = [],
216- bool $ remeberMe = false ,
216+ bool $ rememberMe = false ,
217217 bool $ withPassword = true
218218 ): array {
219219 if (isset ($ credentials ['username ' ]) === false ) {
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ public function getId(): int|string
123123 throw new AccountNotFoundException ('User not logged ' , 401 );
124124 }
125125
126- $ id = $ this ->session ->get ('user.id ' );
126+ $ id = $ this ->session ->get ('auth. user.id ' );
127127
128128 return $ id ;
129129 }
@@ -141,7 +141,7 @@ public function isLogged(): bool
141141 */
142142 public function login (
143143 array $ credentials = [],
144- bool $ remeberMe = false ,
144+ bool $ rememberMe = false ,
145145 bool $ withPassword = true
146146 ): array {
147147 if (!isset ($ credentials ['username ' ])) {
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ interface AuthenticationInterface
6161 /**
6262 * Authenticate the user
6363 * @param array<string, mixed> $credentials
64- * @param bool $remeberMe
64+ * @param bool $rememberMe
6565 * @param bool $withPassword wether to use password to login
6666 * @return array<string, mixed>
6767 *
@@ -72,7 +72,7 @@ interface AuthenticationInterface
7272 */
7373 public function login (
7474 array $ credentials = [],
75- bool $ remeberMe = false ,
75+ bool $ rememberMe = false ,
7676 bool $ withPassword = true
7777 ): array ;
7878
You can’t perform that action at this time.
0 commit comments