This commit is contained in:
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@@ -121,7 +121,7 @@
|
||||
"AYANOVA_USE_URLS": "http://*:7575;",
|
||||
//"AYANOVA_PERMANENTLY_ERASE_DATABASE":"true",
|
||||
//"AYANOVA_REMOVE_LICENSE_FROM_DB":"true",
|
||||
//"AYANOVA_SERVER_TEST_MODE": "true",
|
||||
"AYANOVA_SERVER_TEST_MODE": "true",
|
||||
"AYANOVA_SERVER_TEST_MODE_TZ_OFFSET": "-7",
|
||||
"AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small",
|
||||
"AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_14\\bin"
|
||||
|
||||
@@ -111,4 +111,4 @@ This menu option will connect you to the AyaNova support contact form on our web
|
||||
|
||||
#### View license agreement
|
||||
|
||||
Displays the AyaNova end user [license agreement](license.md).
|
||||
Displays the AyaNova end user [Perpetual license agreement](license.md) or [Subscription service agreement](ayanova-subscription-service-agreement.md) depending upon which version is in use.
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace AyaNova.Api.Controllers
|
||||
bool suIsDefault = await UserBiz.SuperIsDefaultCredsAsync(ct);
|
||||
//confirm if there are logo's to show as well
|
||||
var logo = await ct.Logo.AsNoTracking().SingleOrDefaultAsync();
|
||||
|
||||
|
||||
bool HasLargeLogo = false;
|
||||
bool HasMediumLogo = false;
|
||||
bool HasSmallLogo = false;
|
||||
@@ -63,8 +63,14 @@ namespace AyaNova.Api.Controllers
|
||||
if (logo.Medium != null) HasMediumLogo = true;
|
||||
if (logo.Large != null) HasLargeLogo = true;
|
||||
}
|
||||
|
||||
bool PPBuild = true;
|
||||
#if (SUBSCRIPTION_BUILD)
|
||||
PPBuild = false;
|
||||
#endif
|
||||
|
||||
return Ok(ApiOkResponse.Response(
|
||||
new { eval = showSampleLogins, sudf = suIsDefault, ll = HasLargeLogo, ml = HasMediumLogo, sl = HasSmallLogo, lcr = AyaNova.Core.License.LicenseConsentRequired }));
|
||||
new { eval = showSampleLogins, sudf = suIsDefault, ll = HasLargeLogo, ml = HasMediumLogo, sl = HasSmallLogo, lcr = AyaNova.Core.License.LicenseConsentRequired, pp=PPBuild }));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user