aboutsummaryrefslogtreecommitdiff
path: root/src/CamilStaps/BotleaguesApi/User.php
diff options
context:
space:
mode:
authorCamil Staps2015-04-26 12:37:58 +0200
committerCamil Staps2015-04-26 12:37:58 +0200
commitbcb71edf812c9c41833d5a66c39844ec35466190 (patch)
tree1a7d04482ca4676b4384fce3367f49e67b8b10f6 /src/CamilStaps/BotleaguesApi/User.php
parentmigrations have package's namespace for compatibility (diff)
Fixed basic authentication
Diffstat (limited to 'src/CamilStaps/BotleaguesApi/User.php')
-rw-r--r--src/CamilStaps/BotleaguesApi/User.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CamilStaps/BotleaguesApi/User.php b/src/CamilStaps/BotleaguesApi/User.php
index f8cf46b..f9db0ee 100644
--- a/src/CamilStaps/BotleaguesApi/User.php
+++ b/src/CamilStaps/BotleaguesApi/User.php
@@ -5,6 +5,7 @@ use Illuminate\Database\Eloquent\Model;
class User extends Model {
- protected $hidden = array('password', 'remember_token', 'key');
+ protected $table = 'users';
+ protected $hidden = array('password', 'remember_token', 'api_key');
} \ No newline at end of file