diff --git a/src/gui/src/AppConfig.cpp b/src/gui/src/AppConfig.cpp index 76e2234b..69142d1d 100644 --- a/src/gui/src/AppConfig.cpp +++ b/src/gui/src/AppConfig.cpp @@ -130,7 +130,6 @@ void AppConfig::loadSettings() m_AutoConfigPrompted = settings().value("autoConfigPrompted", false).toBool(); m_Edition = settings().value("edition", Unknown).toInt(); m_ActivateEmail = settings().value("activateEmail", "").toString(); - m_UserToken = settings().value("userToken", "").toString(); m_CryptoEnabled = settings().value("cryptoEnabled", false).toBool(); m_AutoHide = settings().value("autoHide", false).toBool(); m_Serialkey = settings().value("serialKey", "").toString(); @@ -153,7 +152,6 @@ void AppConfig::saveSettings() settings().setValue("autoConfigPrompted", m_AutoConfigPrompted); settings().setValue("edition", m_Edition); settings().setValue("activateEmail", m_ActivateEmail); - settings().setValue("userToken", m_UserToken); settings().setValue("cryptoEnabled", m_CryptoEnabled); settings().setValue("autoHide", m_AutoHide); settings().setValue("serialKey", m_Serialkey); diff --git a/src/gui/src/AppConfig.h b/src/gui/src/AppConfig.h index 398082f2..684c0015 100644 --- a/src/gui/src/AppConfig.h +++ b/src/gui/src/AppConfig.h @@ -76,8 +76,6 @@ class AppConfig int edition() { return m_Edition; } void setActivateEmail(QString e) { m_ActivateEmail = e; } QString activateEmail() { return m_ActivateEmail; } - void setUserToken(QString t) { m_UserToken = t; } - QString userToken() { return m_UserToken; } void setSerialKey(QString serial) { m_Serialkey = serial; } QString serialKey() { return m_Serialkey; } int lastExpiringWarningTime() const { return m_LastExpiringWarningTime; } @@ -131,7 +129,6 @@ class AppConfig bool m_AutoConfigPrompted; int m_Edition; QString m_ActivateEmail; - QString m_UserToken; bool m_CryptoEnabled; bool m_AutoHide; QString m_Serialkey; diff --git a/src/gui/src/SetupWizard.cpp b/src/gui/src/SetupWizard.cpp index e2f4abcc..e239b015 100644 --- a/src/gui/src/SetupWizard.cpp +++ b/src/gui/src/SetupWizard.cpp @@ -199,11 +199,6 @@ void SetupWizard::accept() if (m_pRadioButtonActivate->isChecked()) { appConfig.setActivateEmail(m_pLineEditEmail->text()); - QString mac = getFirstMacAddress(); - QString hashSrc = m_pLineEditEmail->text() + mac; - QString hashResult = hash(hashSrc); - appConfig.setUserToken(hashResult); - appConfig.setEdition(m_Edition); CoreInterface coreInterface; coreInterface.notifyActivation("login:" + m_pLineEditEmail->text());