Improve user-related strings in webflow credentials

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2022-10-06 16:38:49 +02:00
parent a8abfb6c39
commit 25ca698ad5
No known key found for this signature in database
GPG key ID: C839200C384636B0

View file

@ -164,7 +164,7 @@ void WebFlowCredentials::askFromUser() {
}
QString msg = tr("You have been logged out of your account %1 at %2. Please login again.")
.arg(_user, _account->displayName());
.arg(_account->davUser(), _account->url().toDisplayString());
_askDialog->setInfo(msg);
_askDialog->show();
@ -188,7 +188,7 @@ void WebFlowCredentials::slotAskFromUserCredentialsProvided(const QString &user,
qCInfo(lcWebFlowCredentials()) << "Authed with the wrong user!";
QString msg = tr("Please login with the account: %1")
.arg(_user);
.arg(_account->davUser());
_askDialog->setError(msg);
if (!_askDialog->isUsingFlow2()) {