/trunk/plugins/viathinksoft/adminPages/911_rest_api/OIDplusPageAdminRestApi.class.php |
---|
76,6 → 76,10 |
throw new OIDplusException(_L('The administrator has disabled this feature. (Base configuration setting %1).','JWT_ALLOW_REST_ADMIN'), $out['title']); |
} |
if (is_null(OIDplus::getPluginByOid("1.3.6.1.4.1.37476.2.5.2.4.1.2"))) { // OIDplusPagePublicRestApi |
throw new OIDplusException(_L('The administrator has disabled this feature. (Plugin %1).','OIDplusPagePublicRestApi'), $out['title']); |
} |
$gen = OIDplusAuthContentStoreJWT::JWT_GENERATOR_REST; |
$sub = 'admin'; |
/trunk/plugins/viathinksoft/language/dede/messages.xml |
---|
7118,6 → 7118,14 |
</message> |
<message> |
<source><![CDATA[ |
The administrator has disabled this feature. (Plugin %1). |
]]></source> |
<target><![CDATA[ |
Der Administrator hat dieses Feature deaktiviert. (Plugin %1). |
]]></target> |
</message> |
<message> |
<source><![CDATA[ |
The administrator has disabled uploading attachments by RAs. |
]]></source> |
<target><![CDATA[ |
/trunk/plugins/viathinksoft/raPages/911_rest_api/OIDplusPageRaRestApi.class.php |
---|
82,6 → 82,10 |
throw new OIDplusException(_L('The administrator has disabled this feature. (Base configuration setting %1).','JWT_ALLOW_REST_USER'), $out['title']); |
} |
if (is_null(OIDplus::getPluginByOid("1.3.6.1.4.1.37476.2.5.2.4.1.2"))) { // OIDplusPagePublicRestApi |
throw new OIDplusException(_L('The administrator has disabled this feature. (Plugin %1).','OIDplusPagePublicRestApi'), $out['title']); |
} |
$gen = OIDplusAuthContentStoreJWT::JWT_GENERATOR_REST; |
$sub = $ra_email; |