mirror of https://gitlab.com/brutaldon/brutaldon
Remove un-needed login check in get_mastodon()
This commit is contained in:
parent
f73cadee90
commit
fb6e1d6b7a
|
@ -25,11 +25,6 @@ class MastodonPool(dict, metaclass=Singleton):
|
|||
pass
|
||||
|
||||
def get_mastodon(request):
|
||||
if not (request.session.has_key('instance') and
|
||||
(request.session.has_key('username') or
|
||||
request.session.has_key('access_token'))):
|
||||
raise NotLoggedInException()
|
||||
|
||||
pool = MastodonPool()
|
||||
if request.session.has_key('access_token'):
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue