Commit d6411ae0 authored by Franco Fichtner's avatar Franco Fichtner

www: generate secret on bootup

parent e8a60a29
...@@ -183,7 +183,7 @@ echo "done." ...@@ -183,7 +183,7 @@ echo "done."
# let the PHP-based configuration subsystem set up the system now # let the PHP-based configuration subsystem set up the system now
echo -n "Launching the init system..." echo -n "Launching the init system..."
rm -f /root/lighttpd* rm -f /usr/local/www/csrf/csrf-secret.php /root/lighttpd*
touch /var/run/booting touch /var/run/booting
/usr/local/etc/rc.bootup /usr/local/etc/rc.bootup
rm /var/run/booting rm /var/run/booting
......
<?php $secret = "3f27f3793cfb16c2700474d5c613487e258143d9";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment