Add button to reset the cloudron id if appstore token is invalid

This commit is contained in:
Johannes Zellner
2025-05-23 15:11:35 +02:00
parent 48e2a79d8f
commit a88d523559
4 changed files with 57 additions and 10 deletions
+1
View File
@@ -235,6 +235,7 @@ async function initializeExpressSync() {
router.post('/api/v1/directory_server/config', json, token, authorizeAdmin, routes.directoryServer.setConfig);
// appstore and subscription routes
router.post('/api/v1/appstore/reset_cloudron', json, token, authorizeOwner, routes.appstore.resetCloudron);
router.post('/api/v1/appstore/register_cloudron', json, token, authorizeOwner, routes.appstore.registerCloudronWithLogin);
router.post('/api/v1/appstore/register_cloudron_with_setup_token', json, token, authorizeOwner, routes.appstore.registerCloudronWithSetupToken);
router.get ('/api/v1/appstore/subscription', token, authorizeUser, routes.appstore.getSubscription); // for all users