Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/templates/README.template.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ And for the Redirect Uri set it to the one from your `.env` file.
Next create `init-mongo.js` in your working directory:

```js
{ { file.examples/init-mongo.js } }
{
{
file.examples / init - mongo.js
}
}
```

### Reverse Proxy
Expand All @@ -52,6 +56,15 @@ where you will be able to select your mailbox, mailauth changes the `email` clai

## Contributing

Found an Issue or want to see something implemented into Mailauth?
Open up an Issue or start a Pull Request!

But always be respectful and patient, we are all volunteers after all.

## Supporting

Found this Project useful? Let others know about Mailauth by ⭐️ this Repo!

## License

[MIT](https://choosealicense.com/licenses/mit/)
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,11 @@ And for the Redirect Uri set it to the one from your `.env` file.
Next create `init-mongo.js` in your working directory:

```js
// This is only for initializing the db and creating the mailauth user

db = db.getSiblingDB("mailauth")
db.createUser({
user: "mailauth",
pwd: "SECURE_PW", // This should match the one in your env
roles: [{ role: "readWrite", db: "mailauth" }],
})
{
{
file.examples / init - mongo.js
}
}
```

### Reverse Proxy
Expand Down Expand Up @@ -208,6 +205,15 @@ where you will be able to select your mailbox, mailauth changes the `email` clai

## Contributing

Found an Issue or want to see something implemented into Mailauth?
Open up an Issue or start a Pull Request!

But always be respectful and patient, we are all volunteers after all.

## Supporting

Found this Project useful? Let others know about Mailauth by ⭐️ this Repo!

## License

[MIT](https://choosealicense.com/licenses/mit/)