@@ -151,7 +151,6 @@ void Greeter::respond(const QString &response)
152 Q_D(Greeter);
152 Q_D(Greeter);
153 d->m_greeter->respond(response);
153 d->m_greeter->respond(response);
154− Q_EMIT authenticationUserChanged(); // may have changed in liblightdm
157bool Greeter::startSessionSync(const QString &session)
156bool Greeter::startSessionSync(const QString &session)
@@ -165,6 +164,8 @@ void Greeter::showPromptFilter(const QString &text, QLightDM::Greeter::PromptTyp
165 Q_D(Greeter);
164 Q_D(Greeter);
166 d->wasPrompted = true;
165 d->wasPrompted = true;
167+ Q_EMIT authenticationUserChanged(); // may have changed in liblightdm
168 bool isDefaultPrompt = (text == dgettext("Linux-PAM", "Password: "));
169 bool isDefaultPrompt = (text == dgettext("Linux-PAM", "Password: "));
170 // Strip prompt of any colons at the end
171 // Strip prompt of any colons at the end
@@ -184,6 +185,7 @@ void Greeter::showPromptFilter(const QString &text, QLightDM::Greeter::PromptTyp
185void Greeter::showMessageFilter(const QString &text, QLightDM::Greeter::MessageType type)
186void Greeter::showMessageFilter(const QString &text, QLightDM::Greeter::MessageType type)
188+ Q_EMIT authenticationUserChanged(); // may have changed in liblightdm
187 Q_EMIT showMessage(text, type == QLightDM::Greeter::MessageTypeError);
189 Q_EMIT showMessage(text, type == QLightDM::Greeter::MessageTypeError);