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

When using auth.other() should still keep previous users data. #55

Closed
websanova opened this issue Nov 29, 2016 · 2 comments
Closed

When using auth.other() should still keep previous users data. #55

websanova opened this issue Nov 29, 2016 · 2 comments

Comments

@websanova
Copy link
Owner

When a $auth.loginOther() is done the previous (admin) users data is wiped and replace with the "logged in as" users data. We should keep both copies as sometimes it's nice to still have the previous users (admin) info such as the name or id.

@websanova
Copy link
Owner Author

There are issues with a refresh as the stale data previous user data would need to be fetched in sync (maybe not such a great idea).

Other possibility is to put into local data (but also not so great). Might make this manual call user can make if they want to keep admin data locally.

@websanova
Copy link
Owner Author

killing this as it's too specialized, can be handled indiviudally by app.

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

1 participant