mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-21 00:35:28 +00:00
23 lines
472 B
PHP
23 lines
472 B
PHP
<?php
|
|
|
|
namespace Zotlabs\Module;
|
|
|
|
use Zotlabs\Lib\Apps;
|
|
use Zotlabs\Lib\Libsync;
|
|
use Zotlabs\Web\Controller;
|
|
|
|
class Clients extends Controller {
|
|
|
|
|
|
function get() {
|
|
|
|
$desc = t('This app allows you to authorize mobile apps using OAuth and OpenID to access your channel.');
|
|
|
|
if(! Apps::system_app_installed(local_channel(),'Clients')) {
|
|
return '<div class="section-content-info-wrapper">' . $desc . '</div>';
|
|
}
|
|
goaway(z_root() . '/settings/oauth2');
|
|
}
|
|
|
|
|
|
}
|