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

GPII-3496: Auto-login with user folder #725

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

stegru
Copy link
Member

@stegru stegru commented Jan 3, 2019

This is a user listener that reads a token file from the configuration directory when GPII is loaded.

On Windows, this file is %APPDATA%\gpii\.gpii-user-token.txt (eg, C:\Users\vagrant\AppData\Roaming\gpii\.gpii-user-token.txt) - the file is exactly how the usb listener expect it.

Perhaps this can wait until how the file is being written has been established.

When a session starts, the key can be stored so when gpii restarts, it will auto-login using that key. This is disabled by default, set saveLastLogin in autologin.js, or saveLogin siteconfig value (GPII/gpii-app#80)

@gpii-bot
Copy link

gpii-bot commented Jan 3, 2019

CI job failed: https://ci.gpii.net/job/universal-tests/1424/

@gpii-bot
Copy link

CI job passed: https://ci.gpii.net/job/universal-tests/1430/

@amb26 amb26 changed the title GPII-3496: Auto-login GPII-3496: Auto-login with user folder Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants