Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Stay logged in with different users when using a nvm #451

Open
MarcDiethelm opened this issue Jul 12, 2013 · 3 comments
Open

Feature: Stay logged in with different users when using a nvm #451

MarcDiethelm opened this issue Jul 12, 2013 · 3 comments

Comments

@MarcDiethelm
Copy link

It would be awesome if different node environments (I'm using nave) would preserve the user you're logged in with.

Currently I'm forced to relog in order to use different accounts for different apps even though I'm using separate environments. jitsu users whoami always shows the user last logged in across projects.

@julianduque
Copy link
Contributor

I'm using nvm and its working for me, jitsu saves the login information in ~/.jitsuconf

$ jitsu whoami
julianduque
$ nvm use 0.10.10
Now using node v0.10.10
$ jitsu whoami
julianduque
$ nvm use 0.8.22
Now using node v0.8.22
$ jitsu whoami
julianduque

@MarcDiethelm
Copy link
Author

Hey Julian...
The use case I'm trying to describe is different users for different apps/environments.

environment foo -> logged in as private_user
environment bar -> logged in as customer_x

And that is not possible exactly because the login information is in ~/.jitsuconf then.

@julianduque julianduque reopened this Jul 12, 2013
@julianduque
Copy link
Contributor

Sorry, I confused the use case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants