summaryrefslogtreecommitdiffstats
path: root/modules/cron
diff options
context:
space:
mode:
authorStefan Kalscheuer <stefan@stklcode.de>2017-07-15 16:21:51 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-07-15 22:21:51 +0800
commit0b177574c92b2f8c4a4d0d9de01ff1bf5eda06a2 (patch)
tree9b0d900298ec2054b216271c556500c25ab7ddf5 /modules/cron
parent32f289ae3b88f0a33723fe51b808d1633cd6716a (diff)
downloadgitea-0b177574c92b2f8c4a4d0d9de01ff1bf5eda06a2.tar.gz
gitea-0b177574c92b2f8c4a4d0d9de01ff1bf5eda06a2.zip
Only show SSH clone URL if signed in (#2169) (#2170)
* Add configuration flag SSH_EXPOSE_ANONYMOUS If this flag (default True) is set to false, the SSH clone URL will only be exposed if the current user is signed in. * Default SSH exposure set to false To match GitHub and for security reasons, SSH URL exposure is disabled by default. In addition to that. minor code changes have been applied. Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de> * Add integration tests * Hide clone button neither HTTP and SSH is enabled Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
Diffstat (limited to 'modules/cron')
0 files changed, 0 insertions, 0 deletions