Skip to content

Commit

Permalink
login: Add Warning, if --cacert is Used
Browse files Browse the repository at this point in the history
  • Loading branch information
holesch committed Jul 27, 2024
1 parent b389908 commit ed45902
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions not_my_board/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,14 @@ async def _login_command(args):
f"{Format.RESET}"
)
print(login.login_url)

if args.cacert:
print(
f"{Format.YELLOW}"
"You might need to accept an unknown certificate in the browser."
f"{Format.RESET}"
)

claims = await login.finish()

msg = "Login was successful"
Expand Down

0 comments on commit ed45902

Please sign in to comment.