forked from magonysandormate/PeePal
Kész(?)
This commit is contained in:
@@ -22,7 +22,6 @@ class User extends Authenticatable implements JWTSubject
|
||||
return [];
|
||||
}
|
||||
|
||||
// Change to match your migration
|
||||
protected $table = 'felhasznalok';
|
||||
|
||||
protected $fillable = [
|
||||
@@ -43,13 +42,11 @@ class User extends Authenticatable implements JWTSubject
|
||||
'email_verified_at' => 'datetime',
|
||||
];
|
||||
|
||||
// This method tells Laravel to use jelszo field for passwords
|
||||
public function getAuthPassword()
|
||||
{
|
||||
return $this->jelszo;
|
||||
}
|
||||
|
||||
// Fix this to use 'jelszo' instead of 'password'
|
||||
public function setJelszoAttribute($value)
|
||||
{
|
||||
$this->attributes['jelszo'] = \Illuminate\Support\Facades\Hash::make($value);
|
||||
|
||||
Reference in New Issue
Block a user