* added disable playground functionality
 * added toggle button for playground in dashboard
This commit is contained in:
lemonScaletech
2023-08-28 19:51:42 +05:30
parent 9ae616b6b5
commit c9b8bbc3e1
17 changed files with 1583 additions and 1443 deletions

View File

@@ -202,6 +202,7 @@ func EnvResolver(ctx context.Context) (*model.Env, error) {
res.DisableMultiFactorAuthentication = store[constants.EnvKeyDisableMultiFactorAuthentication].(bool)
res.AdminCookieSecure = store[constants.EnvKeyAdminCookieSecure].(bool)
res.AppCookieSecure = store[constants.EnvKeyAppCookieSecure].(bool)
res.DisablePlayground = store[constants.EnvKeyDisablePlayGround].(bool)
return res, nil
}