mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-10 12:49:53 +00:00
Require login before opening preferences
This commit is contained in:
parent
47a1e16dab
commit
98f4dc8e19
@ -1,5 +1,6 @@
|
||||
open = require('open')
|
||||
config = require('../config')
|
||||
authHooks = require('../hooks/auth')
|
||||
|
||||
exports.preferences = ->
|
||||
exports.preferences = authHooks.failIfNotLoggedIn ->
|
||||
open(config.urls.preferences)
|
||||
|
Loading…
x
Reference in New Issue
Block a user