Remove subscription levels; license valid = subscribed

This commit is contained in:
NeilClack
2026-08-15 00:54:24 -05:00
parent 8ca60de647
commit f14bf3e29a
19 changed files with 136 additions and 1534 deletions
+2 -3
View File
@@ -95,14 +95,13 @@ void LicenseKeyPage::submit()
// Both the email address and the license key are required to validate.
// When the email is missing the key is saved but the check is skipped.
std::string levelName;
std::string errorMessage;
const radiantwave::license::Result result = radiantwave::license::validateStoredLicense(
state_->db, "", &levelName, &errorMessage);
state_->db, "", &errorMessage);
switch (result) {
case radiantwave::license::Result::Ok:
statusMessage_ = "License validated (" + levelName + ")";
statusMessage_ = "License validated";
break;
case radiantwave::license::Result::NotConfigured:
statusMessage_ = "Saved - add your email address to validate the license";