make the example key on admin panel without auth work when insecure (#1024)
The example key shown on the admin panel to users who are not known to be administrators is generated using a method that is only available in secure environments. This adds a fallback for insecure environments. The key is less solid but again, it is just an example, and for an insecure environment. Tested manually running locally and using a hostname set in /etc/hosts.pull/1039/head
parent
e6e09e8645
commit
856dbef3df
Loading…
Reference in new issue