diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2019-04-28 16:45:36 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2019-04-28 16:45:36 +0200 |
commit | 6710aa856175300e598b23b701c0d2741f2cb6b3 (patch) | |
tree | 43987fa58a25c81413e68cddad697e6301c5936f /plugins/authenticator/shotwell/GoogleAuthenticator.vala | |
parent | 5e9f4eea451a77ba3b93db3747841ed2bd969e9f (diff) |
New upstream version 0.30.4upstream/0.30.4
Diffstat (limited to 'plugins/authenticator/shotwell/GoogleAuthenticator.vala')
-rw-r--r-- | plugins/authenticator/shotwell/GoogleAuthenticator.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/authenticator/shotwell/GoogleAuthenticator.vala b/plugins/authenticator/shotwell/GoogleAuthenticator.vala index f561197..75d8f37 100644 --- a/plugins/authenticator/shotwell/GoogleAuthenticator.vala +++ b/plugins/authenticator/shotwell/GoogleAuthenticator.vala @@ -23,7 +23,8 @@ namespace Publishing.Authenticator.Shotwell.Google { public override void on_page_load() { var uri = new Soup.URI(get_view().get_uri()); if (uri.scheme == REVERSE_CLIENT_ID && this.auth_code == null) { - this.error(); + var form_data = Soup.Form.decode (uri.query); + this.auth_code = form_data.lookup("code"); } if (this.auth_code != null) { |