diff options
author | D Anzorge <[email protected]> | 2018-06-26 14:48:59 +0200 |
---|---|---|
committer | D Anzorge <[email protected]> | 2018-06-26 14:48:59 +0200 |
commit | 4319283bcdc4d9c1cef8e846bd43659f83e90c12 (patch) | |
tree | 92093dcc763ed949153ed5ea43455da9b897c03e /tests | |
parent | e1891a1fed227a2851214d4673b9c04dbc73a22b (diff) | |
download | mastodon.py-4319283bcdc4d9c1cef8e846bd43659f83e90c12.tar.gz |
log_in(): check if granted scopes are a superset of requested
Currently, Pleroma does not actually have scopes, but grants "read write
follow" in all cases. For compatibility, log_in() now checks if the
granted scopes include all of the requested scopes, instead of checking
if they match exactly.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions