Skip to content

Commit

Permalink
fix: jans-cli check existence of data when logout (ref: #3050)
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed Nov 28, 2022
1 parent 8213541 commit b4b3c16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jans-cli-tui/cli_tui/plugins/999_jans/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ async def coroutine():

asyncio.ensure_future(coroutine())

del config_cli.config['DEFAULT']['access_token_enc']
del config_cli.config['DEFAULT']['user_data']
config_cli.config['DEFAULT'].pop('access_token_enc', None)
config_cli.config['DEFAULT'].pop('user_data', None)
config_cli.write_config()
self.exit_cli()

Expand Down

0 comments on commit b4b3c16

Please sign in to comment.