[Pkg-mozext-commits] [personasplus] 07/13: Add support for FxA login
David Prévot
taffit at moszumanska.debian.org
Sun Jun 12 01:06:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository personasplus.
commit 701df72d3b95f602c2781f0079b2e82aa31b370f
Author: Baris Derin <baris at barisderin.com>
Date: Tue Jun 7 19:47:43 2016 +0300
Add support for FxA login
This will try to check if user authenticates by Firefox accounts.
Cookie-changed disabled again.
---
extension/modules/service.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extension/modules/service.js b/extension/modules/service.js
index b155c57..df6196f 100644
--- a/extension/modules/service.js
+++ b/extension/modules/service.js
@@ -1363,7 +1363,7 @@ var PersonaService = {
if (uri.host != this.addonsHost)
return;
- if (endsWith(uri.filePath, "/users/logout") || aRequest.requestMethod == "POST" && endsWith(uri.filePath, "/users/login"))
+ if (endsWith(uri.filePath, "/users/logout") || aRequest.requestMethod == "POST" && endsWith(uri.filePath, "/users/login") || endsWith(uri.filePath, "/api/v3/accounts/authenticate/"))
this.refreshFavorites();
},
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/personasplus.git
More information about the Pkg-mozext-commits
mailing list