diff options
-rw-r--r-- | panels/user-accounts/um-account-dialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/panels/user-accounts/um-account-dialog.c b/panels/user-accounts/um-account-dialog.c index 21a22aaed..003a4307b 100644 --- a/panels/user-accounts/um-account-dialog.c +++ b/panels/user-accounts/um-account-dialog.c @@ -795,7 +795,7 @@ enterprise_permit_user_login (UmAccountDialog *self) GVariant *options; common = um_realm_object_get_common (self->selected_realm); - if (common != NULL) { + if (common == NULL) { g_debug ("Failed to register account: failed to get d-bus interface"); show_error_dialog (self, _("Failed to register account"), NULL); finish_action (self); |