mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-18 18:56:25 +00:00
Add logout error handler
This commit is contained in:
parent
807bc2f047
commit
8c02e88ab5
@ -23,7 +23,8 @@ exports.login = (params) ->
|
||||
], errors.handle
|
||||
|
||||
exports.logout = permissions.user ->
|
||||
resin.auth.logout()
|
||||
resin.auth.logout (error) ->
|
||||
errors.handle(error) if error?
|
||||
|
||||
exports.signup = ->
|
||||
async.waterfall([
|
||||
|
Loading…
Reference in New Issue
Block a user