1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Started work on API token controls

- Added access-api permission.
- Started user profile UI work.
- Created database table and model for tokens.
- Fixed incorrect templates down migration :(
This commit is contained in:
Dan Brown
2019-12-29 13:02:26 +00:00
parent 04137e7c98
commit d336ba6874
10 changed files with 143 additions and 15 deletions

9
app/Api/ApiToken.php Normal file
View File

@ -0,0 +1,9 @@
<?php namespace BookStack\Api;
use Illuminate\Database\Eloquent\Model;
class ApiToken extends Model
{
protected $fillable = ['name', 'expires_at'];
}