mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-29 18:18:50 +00:00
7 lines
187 B
CoffeeScript
7 lines
187 B
CoffeeScript
auth = require('../auth/auth')
|
|
|
|
exports.login = (credentials) ->
|
|
parsedCredentials = auth.parseCredentials(credentials)
|
|
auth.login parsedCredentials, (error) ->
|
|
throw error if error?
|