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

don't cache invalid credentials #38

Open
warner opened this issue Aug 15, 2014 · 1 comment
Open

don't cache invalid credentials #38

warner opened this issue Aug 15, 2014 · 1 comment
Assignees
Milestone

Comments

@warner
Copy link

warner commented Aug 15, 2014

In sigma/magit-gh-pulls#5 (comment) I noticed that gh.el can cached a stale (invalid) oauth token from my ~/.gitconfig file, and I couldn't find any way to clear it. Eventually I had to quit emacs entirely and start it up again.

It'd be nice if the credential were only cached after it had been seen to work properly, or maybe the cache could be automatically invalidated if the library ever gets a bad-auth error.

@aspiers
Copy link

aspiers commented Sep 18, 2015

I saw this too. However you don't need to restart emacs; it's sufficient to eval (defvar gh-auth-alist nil).

@sigma sigma modified the milestone: v1.0 Jun 26, 2016
@sigma sigma self-assigned this Jul 1, 2016
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

No branches or pull requests

3 participants