You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.
output of rustc -V: rustc 1.35.0 (3c235d560 2019-05-20)
output of node -v: v12.4.0
output of wrangler -V: π· β¨ wrangler 1.1.1
Steps to reproduce
Leave email + api key fields blank when running wrangler config
β― wrangler whoami
πβ π You are logged with the email '[email protected]'.
β― wrangler config
Enter email:
Enter api key:
β¨ Successfully configured. You can find your configuration file at: /Users/me/.wrangler/config/default.toml
β― wrangler whoami
πβ π You are logged with the email ''.
β― rm /Users/me/.wrangler/config/default.toml
β― wrangler whoami
Error: β οΈ Your global config has an error, run `wrangler config`: missing field `email`
What did you expect to see?
I either expect to see wrangler config return an error when I pass it invalid credentials, and for wrangler whoami to error when there are invalid credentials in their .wrangler/config/default.toml
What did you see instead?
No errors and wrangler whoami saying that I am successfully logged in as email ''.
Other cases
It's not just empty credentials that can be successfully configured, completely fake ones work just fine as well.
β― wrangler config
Enter email:
[email protected]
Enter api key:
1234
β¨ Successfully configured. You can find your configuration file at: /Users/me/.wrangler/config/default.toml
β― wrangler whoami
πβ π You are logged with the email '[email protected]'.
The text was updated successfully, but these errors were encountered:
one of the bigger issues here is that some of the error messages that wrangler gives for bad credentials are garbage. we should at least improve those. forcing valid credentials may be out of scope for this release (1.3.0).
π Bug Report
Environment
rustc -V
:rustc 1.35.0 (3c235d560 2019-05-20)
node -v
:v12.4.0
wrangler -V
:π· β¨ wrangler 1.1.1
Steps to reproduce
Leave email + api key fields blank when running
wrangler config
What did you expect to see?
I either expect to see
wrangler config
return an error when I pass it invalid credentials, and forwrangler whoami
to error when there are invalid credentials in their.wrangler/config/default.toml
What did you see instead?
No errors and
wrangler whoami
saying that I am successfully logged in asemail ''
.Other cases
It's not just empty credentials that can be successfully configured, completely fake ones work just fine as well.
The text was updated successfully, but these errors were encountered: