summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/mail/cred.py
diff options
context:
space:
mode:
authorSukhbir Singh <sukhbir@torproject.org>2017-12-12 02:59:34 -0500
committerRuben Pollan <meskio@sindominio.net>2017-12-17 18:21:06 +0200
commit8c50952bb542a09ebe591d9dba3b4d89d4837b54 (patch)
tree902a832f999c1198da3e3094a3d9bbcb6c1e8804 /src/leap/bitmask/mail/cred.py
parent2acf226ac3503f349422ae29fee4145f459e66db (diff)
[feat] Add support for calling bitmask.js from Firefox/Thunderbird
- To be able to call bitmask.js from Thunderbird (for the Bitmask Thunderbird extension), we need to set `api_url' and also read the `authtoken' file from disk. This commit adds support for that and restricts the changes by using window.location.protocol. - Add function for fetching bitmaskd status. Signed-off-by: Ruben Pollan <meskio@sindominio.net>
Diffstat (limited to 'src/leap/bitmask/mail/cred.py')
0 files changed, 0 insertions, 0 deletions