mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-26 14:58:00 +01:00
23 lines
No EOL
508 B
PHP
23 lines
No EOL
508 B
PHP
<?php
|
|
|
|
namespace Entities;
|
|
|
|
use Illuminate\Auth\UserInterface;
|
|
use Illuminate\Auth\Reminders\RemindableInterface;
|
|
|
|
class User extends \Eloquent implements UserInterface, RemindableInterface {
|
|
protected $table = 'users';
|
|
protected $hidden = ['password_hash', 'password_salt', 'bio'];
|
|
|
|
public function getAuthIdentifier() {
|
|
return $this->getKey();
|
|
}
|
|
|
|
public function getAuthPassword() {
|
|
return $this->password_hash;
|
|
}
|
|
|
|
public function getReminderEmail() {
|
|
return $this->email;
|
|
}
|
|
} |