Added unregistered view.
This commit is contained in:
@@ -38,6 +38,7 @@ gitea_http_port: 3000
|
|||||||
gitea_ssh_port: 22
|
gitea_ssh_port: 22
|
||||||
gitea_database_server: ''
|
gitea_database_server: ''
|
||||||
gitea_reverse_proxy: ''
|
gitea_reverse_proxy: ''
|
||||||
|
gitea_require_signin_view: false
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Requirements
|
* Requirements
|
||||||
@@ -54,7 +55,7 @@ gitea_reverse_proxy: ''
|
|||||||
* Variables
|
* Variables
|
||||||
|
|
||||||
| Variable | Type | Comment |
|
| Variable | Type | Comment |
|
||||||
|----------------------------+---------+----------------------------------------------|
|
|----------------------------+---------+--------------------------------------------------|
|
||||||
| gitea_user | string | Gitea user |
|
| gitea_user | string | Gitea user |
|
||||||
| gitea_group | string | Gitea group |
|
| gitea_group | string | Gitea group |
|
||||||
| gitea_binary_url | string | Download URL of Gitea |
|
| gitea_binary_url | string | Download URL of Gitea |
|
||||||
@@ -78,6 +79,7 @@ gitea_reverse_proxy: ''
|
|||||||
| gitea_self_signed | boolean | Generate a self-signed cert and key |
|
| gitea_self_signed | boolean | Generate a self-signed cert and key |
|
||||||
| gitea_lets_encrypt | boolean | Use certbot to configure the SSL |
|
| gitea_lets_encrypt | boolean | Use certbot to configure the SSL |
|
||||||
| gitea_certbot_email | string | Email to register the certificates |
|
| gitea_certbot_email | string | Email to register the certificates |
|
||||||
|
| gitea_require_signin_view | boolean | If false, public repos are visible without login |
|
||||||
|
|
||||||
* Handlers
|
* Handlers
|
||||||
|
|
||||||
|
|||||||
@@ -3,3 +3,4 @@ gitea_user: git
|
|||||||
gitea_group: git
|
gitea_group: git
|
||||||
gitea_http_port: 3000
|
gitea_http_port: 3000
|
||||||
gitea_ssh_port: 22
|
gitea_ssh_port: 22
|
||||||
|
gitea_require_signin_view: true
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ DEFAULT_ALLOW_CREATE_ORGANIZATION = true
|
|||||||
DEFAULT_ENABLE_TIMETRACKING = true
|
DEFAULT_ENABLE_TIMETRACKING = true
|
||||||
NO_REPLY_ADDRESS = noreply.localhost
|
NO_REPLY_ADDRESS = noreply.localhost
|
||||||
REGISTER_MANUAL_CONFIRM = true
|
REGISTER_MANUAL_CONFIRM = true
|
||||||
|
REQUIRE_SIGNIN_VIEW = {{ gitea_require_signin_view }}
|
||||||
|
|
||||||
[openid]
|
[openid]
|
||||||
ENABLE_OPENID_SIGNIN = false
|
ENABLE_OPENID_SIGNIN = false
|
||||||
|
|||||||
Reference in New Issue
Block a user