Fixed poniverse authentication. Now uses live API.

This commit is contained in:
Nelson LaQuet 2015-04-30 01:50:15 -05:00
parent aff57a092c
commit 893d8e20bb
2 changed files with 20 additions and 6 deletions

View file

@ -0,0 +1,17 @@
<?php
use Illuminate\Database\Migrations\Migration;
class AddRememberMeField extends Migration {
public function up() {
Schema::table('users', function($table) {
$table->string('remember_token', 100)->nullable()->indexed();
});
}
public function down() {
Schema::table('users', function($table) {
$table->dropColumn('remember_token');
});
}
}

View file

@ -87,7 +87,7 @@
* @return string
*/
public function getRememberToken() {
// TODO: Implement getRememberToken() method.
return $this->remember_token;
}
/**
@ -97,7 +97,7 @@
* @return void
*/
public function setRememberToken($value) {
// TODO: Implement setRememberToken() method.
$this->remember_token = $value;
}
/**
@ -106,9 +106,6 @@
* @return string
*/
public function getRememberTokenName() {
return "nothing";
}
public function setNothingAttribute($nothing) {
return "remember_token";
}
}