* Move user account setting of gitea.
This commit is contained in:
@@ -71,7 +71,9 @@ class gitea extends control
|
||||
{
|
||||
if($_POST)
|
||||
{
|
||||
$gitea = form::data($this->config->gitea->form->create)->get();
|
||||
$gitea = form::data($this->config->gitea->form->create)
|
||||
->add('createdBy', $this->app->user->acount)
|
||||
->get();
|
||||
$result = $this->checkToken($gitea);
|
||||
if(is_array($result)) return $this->send($result);
|
||||
|
||||
@@ -118,7 +120,9 @@ class gitea extends control
|
||||
|
||||
if($_POST)
|
||||
{
|
||||
$gitea = form::data($this->config->gitea->form->edit)->get();
|
||||
$gitea = form::data($this->config->gitea->form->edit)
|
||||
->add('editedBy', $this->app->user->acount)
|
||||
->get();
|
||||
$result = $this->checkToken($gitea);
|
||||
if(is_array($result)) return $this->send($result);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user