Skip to content
Snippets Groups Projects
Commit cf0eefb5 authored by Bob Mottram's avatar Bob Mottram
Browse files

Disable gogs registrations

parent c56aab52
No related branches found
No related tags found
No related merge requests found
......@@ -678,8 +678,7 @@ Select *Exit to the comand line*.
#+begin_src bash :tangle no
sudo su
export GO_VERSION=1.5
sed -i "s|DISABLE_REGISTRATION =.*|DISABLE_REGISTRATION = true|g" /home/git/gvm/pkgsets/go${GO_VERSION}/global/src/github.com/gogits/gogs/custom/conf/app.ini
sed -i "s|DISABLE_REGISTRATION =.*|DISABLE_REGISTRATION = true|g" /home/gogs/custom/conf/app.ini
systemctl restart gogs
exit; exit
#+end_src
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment