mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-25 09:42:10 +08:00
21 lines
339 B
PHP
21 lines
339 B
PHP
|
<?php namespace BookStack\Http\Controllers;
|
||
|
|
||
|
use Illuminate\Http\Request;
|
||
|
|
||
|
class UserApiTokenController extends Controller
|
||
|
{
|
||
|
|
||
|
/**
|
||
|
* Show the form to create a new API token.
|
||
|
*/
|
||
|
public function create(int $userId)
|
||
|
{
|
||
|
$this->checkPermission('access-api');
|
||
|
|
||
|
// TODO - Form
|
||
|
return 'test';
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|