forked from platypush/platypush
Removed two unrequired return
statements
This commit is contained in:
parent
a2c8e27bd8
commit
98d7c95aa7
1 changed files with 0 additions and 2 deletions
|
@ -50,7 +50,6 @@ def auth_endpoint():
|
|||
except Exception as e:
|
||||
log.warning('Invalid payload passed to the auth endpoint: ' + str(e))
|
||||
abort(400)
|
||||
return jsonify({'token': None})
|
||||
|
||||
expiry_days = payload.get('expiry_days')
|
||||
expires_at = None
|
||||
|
@ -65,4 +64,3 @@ def auth_endpoint():
|
|||
})
|
||||
except UserException as e:
|
||||
abort(401, str(e))
|
||||
return jsonify({'token': None})
|
||||
|
|
Loading…
Reference in a new issue