Make the no_access page work for blank admin_pw

This commit is contained in:
Ron Pedde
2006-06-01 06:17:26 +00:00
parent 4fb0b0035d
commit 6fd6a1c9bb
4 changed files with 36 additions and 11 deletions

View File

@@ -9,7 +9,7 @@ adminroot_DATA = ftr.html linkOpaque.gif status.html aspl-license.txt \
gpl-license.html aspl-license.html thanks.html feedback.html \
playlist.html playlist.js smart.html smart.js DAAPApplet-0.1.jar \
smartpopup.html applet.html mt-daapd.js CREDITS status.js \
config.js config.xml spinner.gif util.js pngfix.js
config.js config.xml spinner.gif util.js pngfix.js no_access.html
EXTRA_DIST = ftr.html linkOpaque.gif status.html aspl-license.txt \
gpl-license.txt linkTransparent.gif config-update.html hdr.html \
@@ -17,5 +17,5 @@ EXTRA_DIST = ftr.html linkOpaque.gif status.html aspl-license.txt \
gpl-license.html aspl-license.html thanks.html feedback.html \
playlist.html playlist.js smart.html smart.js DAAPApplet-0.1.jar \
smartpopup.html applet.html mt-daapd.js CREDITS status.js \
config.js config.xml spinner.gif util.js pngfix.js
config.js config.xml spinner.gif util.js pngfix.js no_access.html

View File

@@ -1,24 +1,26 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>mt-daapd</title>
<title>Firefly Media Server</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>No access</title>
</head>
<body>
<h1>No access</h1>
You have no password set in you config file.<br />
Without a password access is only permitted from the computer were<br /> Firefly is running.<br />
You have no password set in your config file.<br />
Without a password access is only permitted from the computer where<br
/> Firefly Media Server is running.<br />
<br />
To enable Firefly remote administration open your config file:<br />
@CONFFILE@ <br />
Find the section mark <code>[general]</code> and add the following line after the mark: <br />
<br />
<tt>@CONFFILE@</tt> <br /><br />
Find the section marked <code>[general]</code> and add the following line after the mark: <br />
<br />
<code>
admin_pw = your_password
</code>
<br />
<br />
You need to restart Firefly for the change to take effect.
You will need to restart Firefly for the change to take effect.
</body>
</html>