cjoudrey/md2medium

Clear config when access tokens are invalid

Open

#2 创建于 2017年7月18日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Go (3 fork)github user discovery
enhancementhelp wanted

仓库指标

Star
 (25 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Steps to reproduce:

  • Setup md2medium with valid API tokens.
  • Revoke an API token.
  • Run md2medium and you will see a 401 error.

When this happens we should clear the token from the config file such that the next time md2medium is run the user will be prompted for a token again.

Even better, we could prompt the user for a new token when the 401 happens.

贡献者指南