OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
22
app/Domain/Auth/Controllers/TokenNew.php
Normal file
22
app/Domain/Auth/Controllers/TokenNew.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Leantime\Domain\Auth\Controllers;
|
||||
|
||||
use Leantime\Core\Controller\Controller;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
/**
|
||||
* Renders the "create personal access token" modal.
|
||||
*/
|
||||
class TokenNew extends Controller
|
||||
{
|
||||
/**
|
||||
* Displays the new token form (loaded into a modal via #/auth/tokenNew).
|
||||
*
|
||||
* @param array $params Request parameters
|
||||
*/
|
||||
public function get(array $params): Response
|
||||
{
|
||||
return $this->tpl->displayPartial('auth.tokenNew');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user