Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

No warning message displayed when double login to CF occurs without an explicit logout #60

Open
bg6954 opened this issue Sep 6, 2013 · 0 comments

Comments

@bg6954
Copy link

bg6954 commented Sep 6, 2013

We ran into this scenario when running some tests using two different identities. The test was done on a vagrant VM where we had two terminal windows open. Let's refer to them as terminal1 and terminal2

On terminal1, login to CloudFoundry as user: [email protected]

$ cf login --username [email protected] --password XXXXXXXX -o fooOrg -s development
target: https://api.cf.att.io

Authenticating... OK
Switching to organization fooOrg... OK
Switching to space development... OK

On terminal 1, check the space for user [email protected]

$ cf space
development:
organization: fooOrg
apps: none
services: none
domains: cf.att.io

On terminal2, login to Cloud Foundry as a different user: [email protected]

$ cf login --username [email protected] --password YYYYYYYY -o barOrg -s development
target: https://api.cf.att.io

Authenticating... OK
Switching to organization barOrg... OK
Switching to space development... OK

Back on terminal1, let's check the space again for user [email protected] now

$ cf space
development:
organization: barOrg
apps: hello-redis-node1, hello-redis-node, caldecott
services: redis-1bc1, redis-test, svc-test1
domains: cf.att.io

There was no message or warning displayed to the user on any of the terminal windows that the organization/space was changing.

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

No branches or pull requests

1 participant