Remove subscription levels; license valid = subscribed
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user