icyflame / cli-cube-timer

Time your solves, without leaving the terminal
https://npmjs.org/package/cli-cube-timer
20 stars 5 forks source link

Change login module to use gh-get-token #23

Open icyflame opened 9 years ago

icyflame commented 9 years ago

First, fix https://github.com/icyflame/node-gh-get-token/issues/1

Then use http://npmjs.com/package/gh-get-token

Saurabh3333 commented 6 years ago

After using gh-get-token for login, I am getting: Existing token returned! Visit https://github.com/settings/developers in your browser to revoke access.

Is it what we are expecting?

icyflame commented 6 years ago

Yeah, if there is an existing token for this application, gh-get-token will return the same token. That's how the GitHub api works. (You may have to activate 2 factor authentication to test this feature properly)