diff options
author | Ray Strode <rstrode@redhat.com> | 2015-10-26 20:51:30 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2015-10-26 20:51:30 -0400 |
commit | 3122dd33f9f28d338ddc908d2553946c0816d9f0 (patch) | |
tree | 5afebabef9b5978aafba3718d5e3e871de3449c8 /daemon | |
parent | 76e2a54a1ef6cb8783844ce11efcf694e220a840 (diff) | |
download | gdm-3122dd33f9f28d338ddc908d2553946c0816d9f0.tar.gz |
Revert "gdm-session: emit verification-complete even for logins"
This reverts commit 76e2a54a1ef6cb8783844ce11efcf694e220a840.
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/gdm-session.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c index 55304857..982b5eba 100644 --- a/daemon/gdm-session.c +++ b/daemon/gdm-session.c @@ -307,18 +307,19 @@ on_establish_credentials_cb (GdmDBusWorker *proxy, service_name = conversation->service_name; if (worked) { - if (self->priv->user_verifier_interface != NULL) { - gdm_dbus_user_verifier_emit_verification_complete (self->priv->user_verifier_interface, - service_name); - g_signal_emit (self, signals[VERIFICATION_COMPLETE], 0, service_name); - } - switch (self->priv->verification_mode) { + case GDM_SESSION_VERIFICATION_MODE_REAUTHENTICATE: + if (self->priv->user_verifier_interface != NULL) { + gdm_dbus_user_verifier_emit_verification_complete (self->priv->user_verifier_interface, + service_name); + g_signal_emit (self, signals[VERIFICATION_COMPLETE], 0, service_name); + } + break; + case GDM_SESSION_VERIFICATION_MODE_LOGIN: case GDM_SESSION_VERIFICATION_MODE_CHOOSER: gdm_session_open_session (self, service_name); break; - case GDM_SESSION_VERIFICATION_MODE_REAUTHENTICATE: default: break; } |