Commit 85f267bf authored by Ondrej Holy's avatar Ondrej Holy
Browse files

user-accounts: Port UmRealmManager to GTask

parent 3cf277eb
......@@ -894,7 +894,7 @@ on_join_login (GObject *source,
um_realm_login_finish (result, &creds, &error);
creds = um_realm_login_finish (result, &error);
/* Logged in as admin successfully, use creds to join domain */
if (error == NULL) {
......@@ -1000,7 +1000,7 @@ on_realm_login (GObject *source,
um_realm_login_finish (result, &creds, &error);
creds = um_realm_login_finish (result, &error);
* User login is valid, but cannot authenticate right now (eg: user needs
This diff is collapsed.
......@@ -70,8 +70,7 @@ void um_realm_login (UmRealmObject *realm,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean um_realm_login_finish (GAsyncResult *result,
GBytes **credentials,
GBytes * um_realm_login_finish (GAsyncResult *result,
GError **error);
gboolean um_realm_join_as_user (UmRealmObject *realm,
Markdown is supported
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