diff options
author | Dan Williams <dan@ioncontrol.co> | 2025-04-17 21:06:17 -0500 |
---|---|---|
committer | Dan Williams <dan@ioncontrol.co> | 2025-05-08 20:08:06 -0500 |
commit | 7262b46a82642b7232ef922b827d77626a93eec0 (patch) | |
tree | 00336338ec0fac68445482c8b5e783d3a4eca90b /src/mm-base-modem.c | |
parent | 02942a04f95f64cda36360c72961fe0e20459ad4 (diff) |
base-modem,auth-provider: move testcase auth bypass to auth provider
The bypass when in testcase mode has nothing to do with the base modem
class; so make it generic.
Signed-off-by: Dan Williams <dan@ioncontrol.co>
Diffstat (limited to 'src/mm-base-modem.c')
-rw-r--r-- | src/mm-base-modem.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mm-base-modem.c b/src/mm-base-modem.c index 7e142327..6bf5b68d 100644 --- a/src/mm-base-modem.c +++ b/src/mm-base-modem.c @@ -1809,13 +1809,6 @@ mm_base_modem_authorize (MMBaseModem *self, task = g_task_new (self, self->priv->authp_cancellable, callback, user_data); - /* When running in the session bus for tests, default to always allow */ - if (mm_context_get_test_session ()) { - g_task_return_boolean (task, TRUE); - g_object_unref (task); - return; - } - mm_auth_provider_authorize (self->priv->authp, invocation, authorization, |