Ensure auth device token is saved to a file so it persists upgrades and reinstalls (#3640)

* ensure auth device token is saved to a file so it persists upgrades and reinstalls
#3639

* write file on check log in

* write file on check log in

* clean up
This commit is contained in:
Kurt Hutten
2024-08-27 05:59:25 +10:00
committed by GitHub
parent 972dca8743
commit f6bb10170d
3 changed files with 80 additions and 7 deletions

View File

@ -60,6 +60,7 @@ export const TEST_SETTINGS_FILE_KEY = 'playwright-test-settings'
export const DEFAULT_HOST = 'https://api.zoo.dev'
export const SETTINGS_FILE_NAME = 'settings.toml'
export const TOKEN_FILE_NAME = 'token.txt'
export const PROJECT_SETTINGS_FILE_NAME = 'project.toml'
export const COOKIE_NAME = '__Secure-next-auth.session-token'