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

Don't show registration button

parent 93425b35
No related branches found
No related tags found
No related merge requests found
......@@ -574,6 +574,7 @@ Select *Exit to the comand line*.
#+begin_src bash :tangle no
sudo su
sed -i "s|DISABLE_REGISTRATION =.*|DISABLE_REGISTRATION = true|g" /home/gogs/custom/conf/app.ini
sed -i "s|SHOW_REGISTRATION_BUTTON =.*|SHOW_REGISTRATION_BUTTON = false|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