Add Marketplace Settings as ConfigurationFlag
Change-Id: I77dbd535a0c1de48a0afa3c2b27e2eda45ccaac5
diff --git a/lib/Kalamar/Plugin/Auth.pm b/lib/Kalamar/Plugin/Auth.pm
index ad3d4e4..9d65b5b 100644
--- a/lib/Kalamar/Plugin/Auth.pm
+++ b/lib/Kalamar/Plugin/Auth.pm
@@ -976,9 +976,12 @@
$app->loc('Auth_oauthSettings'), 'oauth'
));
- # $app->navi->add(settings => (
- # $app->loc('Auth_marketplace'), 'marketplace'
- # ));
+ # Get configuration for marketplace settings
+ if ($param->{marketplace}) {
+ $app->navi->add(settings => (
+ $app->loc('Auth_marketplace'), 'marketplace'
+ ));
+ }
# Helper: Returns lists of registered plugins (of all users), which are permitted