Version 4.7.6
This commit is contained in:
1 parent
8ba7d43898
commit
7b7404e741
1085 files changed
+30590
-7837
No files matched your search
@@ -105,6 +105,7 @@ class _oauth extends \IPS\Node\Controller
|
||||
$client->save();
|
||||
|
||||
\IPS\Session::i()->log( 'acplogs__oauth_new_secret', array( 'core_oauth_client_' . $client->client_id => TRUE ) );
|
||||
\IPS\Output::i()->bypassCsrfKeyCheck = TRUE;
|
||||
}
|
||||
|
||||
\IPS\Output::i()->sidebar['actions'] = $client->getButtons( \IPS\Http\Url::internal( "app=core&module=applications&controller=oauth&do=view&client_id={$client->client_id}" ) );
|
||||
@@ -508,7 +509,12 @@ class _oauth extends \IPS\Node\Controller
|
||||
\IPS\Output::i()->redirect( \IPS\Http\Url::internal( "app=core&module=applications&controller=oauth&do=tokens" )->setQueryString( 'client_id', \IPS\Request::i()->client_id ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected function form()
|
||||
{
|
||||
\IPS\Output::i()->cssFiles = array_merge( \IPS\Output::i()->cssFiles, \IPS\Theme::i()->css( 'system/api.css', 'core', 'admin' ) );
|
||||
return parent::form();
|
||||
}
|
||||
/**
|
||||
* Redirect after save
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user