Skip to content

Commit 5222eaf

Browse files
committed
Use getFirstAttribute
1 parent 74ad340 commit 5222eaf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Models/Concerns/CanAuthenticate.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function getAuthIdentifierName(): string
1919
public function getAuthIdentifier(): string
2020
{
2121
return $this->getConvertedGuid(
22-
$this->getAttribute($this->getAuthIdentifierName())
22+
$this->getFirstAttribute($this->getAuthIdentifierName())
2323
);
2424
}
2525

@@ -50,7 +50,10 @@ public function getRememberToken(): string
5050
/**
5151
* Set the token value for the "remember me" session.
5252
*/
53-
public function setRememberToken($value): void {}
53+
public function setRememberToken($value): void
54+
{
55+
// Do nothing.
56+
}
5457

5558
/**
5659
* Get the column name for the "remember me" token.

0 commit comments

Comments
 (0)