Skip to content

Commit

Permalink
edit error message
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerflex committed Mar 22, 2023
1 parent 77bc6f6 commit 21bd0c3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tidy3d/web/cli/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ def migrate() -> bool:
password = auth_json["password"]
if email and password:
is_migrate = click.prompt(
"auth.json found which doesn't support anymore, do you want to migrate to api key?",
"This system was found to use the old authentication protocol based on auth.json, "
"which will not be supported in the upcoming 2.0 release. We strongly recommend "
"migrating to the API key authentication before the release. Would you like to "
"migrate to the API key authentication now? "
"This will create a '~/.tidy3d/config' file on your machine "
"to store the API key from your online account but all other "
"workings of Tidy3D will remain the same.",
type=bool,
default=True,
)
Expand Down

0 comments on commit 21bd0c3

Please sign in to comment.