mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 22:47:59 +01:00
Fixed poniverse authentication. Now uses live API.
This commit is contained in:
parent
aff57a092c
commit
893d8e20bb
2 changed files with 20 additions and 6 deletions
|
@ -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');
|
||||
});
|
||||
}
|
||||
}
|
|
@ -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";
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue