Skip to content

Don't prompt for sign in after user has ignored once. #1406

Merged
RMacfarlane merged 4 commits intomasterfrom
jackson/sign-in-ignore-prompt
Oct 24, 2019
Merged

Don't prompt for sign in after user has ignored once. #1406
RMacfarlane merged 4 commits intomasterfrom
jackson/sign-in-ignore-prompt

Conversation

@JacksonKearl
Copy link
Contributor

Fixes #1389.

Added a new persistent global state store, as it seems like the existing solution (authentication/keychain.ts) was pretty heavily tied to passwords/keytar.

Copy link
Contributor

@RMacfarlane RMacfarlane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, only have minor comments

@@ -0,0 +1,25 @@
import * as vscode from 'vscode';

export type GlobalStateContext = { globalState: vscode.Memento };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@RMacfarlane RMacfarlane merged commit c5ae53f into master Oct 24, 2019
@RMacfarlane RMacfarlane deleted the jackson/sign-in-ignore-prompt branch October 24, 2019 23:17
@rebornix
Copy link
Member

@JacksonKearl since this line
https://github.com/microsoft/vscode-pull-request-github/pull/1406/files#diff-a46298735cf7c583b6e833c09a3653e1R118 is commented out, I don't think ignoring prompt actually works, can you help confirm that?

@JacksonKearl
Copy link
Contributor Author

JacksonKearl commented Oct 25, 2019

@rebornix Oops, yeah I had that in for testing. Fixed on master.

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.

Everytime I open VSCode I get a notification that I need to sign in to use the extension

3 participants