Commit ccad6b43 authored by Shashwat Jolly's avatar Shashwat Jolly
Browse files

FIX: Add message about the password not being saved to avoid confusion

Some early users were confused about the password not showing up in "Calendar Properties" (config dialog).
The properties dialog now shows a message about EteSync not storing the password.
parent a0a13480
Pipeline #40016 canceled with stage
......@@ -93,6 +93,14 @@ LoginPage::LoginPage(QWidget *parent)
mProgressBar->setRange(0, 0);
layout->addItem(new QSpacerItem(0,10, QSizePolicy::Expanding, QSizePolicy::Expanding));
mPasswordInfo = new QLabel;
mPasswordInfo->setText(i18n("🛈 The password field is empty because EteSync does not store it for security reasons."));
connect(mAdvancedSettings, SIGNAL(toggled(bool)), mServerUrl, SLOT(setVisible(bool)));
connect(mAdvancedSettings, SIGNAL(toggled(bool)), layout->labelForField(mServerUrl), SLOT(setVisible(bool)));
......@@ -106,6 +114,7 @@ void LoginPage::initializePage()
setField(QStringLiteral("credentialsServerUrl"), static_cast<SetupWizard *>(wizard())->mClientState->serverUrl());
QString username = static_cast<SetupWizard *>(wizard())->mClientState->username();
......@@ -81,6 +81,7 @@ private:
QCheckBox *mAdvancedSettings = nullptr;
QLineEdit *mServerUrl = nullptr;
QLabel *mLoginLabel = nullptr;
QLabel *mPasswordInfo = nullptr;
QProgressBar *mProgressBar;
bool mIsInitialized = false;
bool mLoginResult = false;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment