We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getFirstAttribute
1 parent 74ad340 commit 5222eafCopy full SHA for 5222eaf
src/Models/Concerns/CanAuthenticate.php
@@ -19,7 +19,7 @@ public function getAuthIdentifierName(): string
19
public function getAuthIdentifier(): string
20
{
21
return $this->getConvertedGuid(
22
- $this->getAttribute($this->getAuthIdentifierName())
+ $this->getFirstAttribute($this->getAuthIdentifierName())
23
);
24
}
25
@@ -50,7 +50,10 @@ public function getRememberToken(): string
50
/**
51
* Set the token value for the "remember me" session.
52
*/
53
- public function setRememberToken($value): void {}
+ public function setRememberToken($value): void
54
+ {
55
+ // Do nothing.
56
+ }
57
58
59
* Get the column name for the "remember me" token.
0 commit comments