-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added quoting for passwords in sample.app.ini and documentation #3395
Changes from 2 commits
233af8c
ffc976d
44fe67c
df07f1e
6537084
1d73277
0056704
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,7 +118,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`. | |
- `HOST`: **127.0.0.1:3306**: Database host address and port. | ||
- `NAME`: **gitea**: Database name. | ||
- `USER`: **root**: Database username. | ||
- `PASSWD`: **\<empty\>**: Database user password. | ||
- `PASSWD`: **\`\<empty\>\`**: Database user password. Use \`your password\` for quoting, if you use special characters in the password. | ||
- `SSL_MODE`: **disable**: For PostgreSQL only. | ||
- `PATH`: **data/gitea.db**: For SQLite3 only, the database file path. | ||
|
||
|
@@ -185,7 +185,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`. | |
- `FROM`: **\<empty\>**: Mail from address, RFC 5322. This can be just an email address, or | ||
the "Name" \<email@example.com\> format. | ||
- `USER`: **\<empty\>**: Username of mailing user (usually the sender's e-mail address). | ||
- `PASSWD`: **\<empty\>**: Password of mailing user. | ||
- `PASSWD`: **\`\<empty\>\`**: Password of mailing user. Use \`your password\` for quoting, if you use special characters in the password. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. quoting There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for this hint. Should be also enough to just write it in the comment. Backtick schould be the right quotation and works for both. |
||
- `SKIP_VERIFY`: **\<empty\>**: Do not verify the self-signed certificates. | ||
- **Note:** Gitea only supports SMTP with STARTTLS. | ||
- `USE_SENDMAIL`: **false** Use the operating system's `sendmail` command instead of SMTP. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't look correct to quote
<empty>
...