Skip to content

Commit b7f2985

Browse files
committed
Update contributing docs to mention email verification
1 parent 3b983b0 commit b7f2985

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/CONTRIBUTING.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,12 +438,22 @@ OAuth Applications](https://github.com/settings/developers) and click on the
438438
- Homepage URL: `http://localhost:4200/`
439439
- Authorization callback URL: `http://localhost:4200/authorize/github`
440440
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
442442
them as the values of the `GH_CLIENT_ID` and `GH_CLIENT_SECRET` in your `.env`.
443443
444444
Then restart your backend, and you should be able to log in to your local
445445
crates.io with your GitHub account.
446446
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+
447457
Go to http://localhost:4200/me to get your API token and run the `cargo login`
448458
command as directed.
449459

0 commit comments

Comments
 (0)