[gnome-online-accounts] google: Change the authentication cookie to LSID



commit e006cc2ea382b6e6c4a8fff8366d16219cb1ff98
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue May 15 22:39:38 2012 +0200

    google: Change the authentication cookie to LSID
    
    GoogleAccountsLocale_session is not a good choice for guessing if the
    user managed to log in or not because it might be set always. eg.,
    when LC_ALL=bn_IN.utf8.

 src/goabackend/goagoogleprovider.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/goabackend/goagoogleprovider.c b/src/goabackend/goagoogleprovider.c
index d9d0eea..47d9f54 100644
--- a/src/goabackend/goagoogleprovider.c
+++ b/src/goabackend/goagoogleprovider.c
@@ -163,7 +163,7 @@ get_callback_uri (GoaOAuthProvider *provider)
 static const gchar *
 get_authentication_cookie (GoaOAuthProvider *provider)
 {
-  return "GoogleAccountsLocale_session";
+  return "LSID";
 }
 
 /* ---------------------------------------------------------------------------------------------------- */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]