File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -438,12 +438,22 @@ OAuth Applications](https://github.com/settings/developers) and click on the
438
438
- Homepage URL: `http://localhost:4200/`
439
439
- Authorization callback URL: `http://localhost:4200/authorize/github`
440
440
441
- Create the application, then take the Client ID ad Client Secret values and use
441
+ Create the application, then take the Client ID and Client Secret values and use
442
442
them as the values of the `GH_CLIENT_ID` and `GH_CLIENT_SECRET` in your `.env`.
443
443
444
444
Then restart your backend, and you should be able to log in to your local
445
445
crates.io with your GitHub account.
446
446
447
+ The next step is that you need to verify your email address to be able
448
+ to publish crates. When you log in for the first time, an email will
449
+ be sent with a verification link. In development, the sending of
450
+ emails is simulated by a file representing the email being created in
451
+ your local `/tmp/` directory. You need to find that email file and
452
+ follow the link to verify your email. As an easier alternative, you
453
+ can disable requiring a verified email in development by setting
454
+ `DISABLE_EMAIL_VERIFICATION_REQUIREMENT` in your `.env` file and
455
+ restart your backend.
456
+
447
457
Go to http://localhost:4200/me to get your API token and run the `cargo login`
448
458
command as directed.
449
459
You can’t perform that action at this time.
0 commit comments