source-dialog: Handle 401 status codes
A 401 also tiggers the prompt_credentials dialog Fixes #287
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
86ebaf6a90
commit
47cf68e701
@@ -1532,6 +1532,7 @@ discover_sources_cb (GObject *source,
|
||||
*/
|
||||
if (!self->prompt_password &&
|
||||
(error->code == 14 ||
|
||||
error->code == 401 ||
|
||||
error->code == 403 ||
|
||||
error->code == 405))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user