Skip to content

Commit

Permalink
temporary disable the interfaces because they work differently for L4…
Browse files Browse the repository at this point in the history
… and L5
  • Loading branch information
Zae committed Jan 6, 2016
1 parent 4610a6e commit 51b1796
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions src/models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@

namespace Zae\LaraPress;

use Illuminate\Auth\UserInterface;
use Illuminate\Auth\Reminders\RemindableInterface;

class User extends \Eloquent implements UserInterface, RemindableInterface {
class User extends \Eloquent {

protected $primaryKey = 'ID';
protected $appends = ['id', 'login', 'nicename', 'email', 'URL', 'registered', 'activation_key', 'status'];
Expand Down Expand Up @@ -91,35 +88,4 @@ public function setStatusAttribute($value) {
public function getStatusAttribute() {
return $this->attributes['user_status'];
}

/**
* Get the unique identifier for the user.
*
* @return mixed
*/
public function getAuthIdentifier()
{
return $this->getKey();
}

/**
* Get the password for the user.
*
* @return string
*/
public function getAuthPassword()
{
return $this->user_pass;
}

/**
* Get the e-mail address where password reminders are sent.
*
* @return string
*/
public function getReminderEmail()
{
return $this->user_email;
}

}

0 comments on commit 51b1796

Please sign in to comment.