mirror of
https://github.com/openNDS/openNDS.git
synced 2026-01-10 04:17:55 -05:00
Add - random query string when accessing status page
Signed-off-by: Rob White <rob@blue-wave.net>
This commit is contained in:
@@ -183,7 +183,7 @@ landing_page() {
|
||||
Click or tap Continue to show the status of your account.
|
||||
</p>
|
||||
<form>
|
||||
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='$gatewayurl'\" >
|
||||
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn/?$randquery'\" >
|
||||
</form>
|
||||
<hr>
|
||||
"
|
||||
@@ -205,7 +205,7 @@ landing_page() {
|
||||
Click or tap Continue to try again.
|
||||
</p>
|
||||
<form>
|
||||
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn'\" >
|
||||
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn/?$randquery'\" >
|
||||
</form>
|
||||
<hr>
|
||||
"
|
||||
@@ -411,6 +411,9 @@ display_terms() {
|
||||
# #
|
||||
#################################################
|
||||
|
||||
|
||||
randquery="$(date | sha256sum | awk '{printf "%s", $1}')"
|
||||
|
||||
# Quotas and Data Rates
|
||||
#########################################
|
||||
# Set length of session in minutes (eg 24 hours is 1440 minutes - if set to 0 then defaults to global sessiontimeout value):
|
||||
|
||||
@@ -235,7 +235,7 @@ landing_page() {
|
||||
Click or tap Continue to show the status of your account.
|
||||
</p>
|
||||
<form>
|
||||
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='$gatewayurl'\" >
|
||||
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn/?$randquery'\" >
|
||||
</form>
|
||||
<hr>
|
||||
"
|
||||
@@ -259,7 +259,7 @@ landing_page() {
|
||||
Click or tap Continue to try again.
|
||||
</p>
|
||||
<form>
|
||||
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn'\" >
|
||||
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn/?$randquery'\" >
|
||||
</form>
|
||||
<hr>
|
||||
"
|
||||
@@ -466,6 +466,8 @@ display_terms() {
|
||||
# #
|
||||
#################################################
|
||||
|
||||
randquery="$(date | sha256sum | awk '{printf "%s", $1}')"
|
||||
|
||||
# Quotas and Data Rates
|
||||
#########################################
|
||||
# Set length of session in minutes (eg 24 hours is 1440 minutes - if set to 0 then defaults to global sessiontimeout value):
|
||||
|
||||
@@ -196,7 +196,7 @@ landing_page() {
|
||||
Click or tap Continue to show the status of your account.
|
||||
</p>
|
||||
<form>
|
||||
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='$gatewayurl'\" >
|
||||
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn/?$randquery'\" >
|
||||
</form>
|
||||
<hr>
|
||||
"
|
||||
@@ -218,7 +218,7 @@ landing_page() {
|
||||
Click or tap Continue to try again.
|
||||
</p>
|
||||
<form>
|
||||
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn'\" >
|
||||
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn/?$randquery'\" >
|
||||
</form>
|
||||
<hr>
|
||||
"
|
||||
@@ -424,6 +424,8 @@ display_terms() {
|
||||
# #
|
||||
#################################################
|
||||
|
||||
randquery="$(date | sha256sum | awk '{printf "%s", $1}')"
|
||||
|
||||
# Quotas and Data Rates
|
||||
#########################################
|
||||
# Set length of session in minutes (eg 24 hours is 1440 minutes - if set to 0 then defaults to global sessiontimeout value):
|
||||
|
||||
@@ -252,7 +252,7 @@ landing_page() {
|
||||
Click or tap Continue to show the status of your account.
|
||||
</p>
|
||||
<form>
|
||||
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='$gatewayurl'\" >
|
||||
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn/?$randquery'\" >
|
||||
</form>
|
||||
<hr>
|
||||
"
|
||||
@@ -276,7 +276,7 @@ landing_page() {
|
||||
Click or tap Continue to try again.
|
||||
</p>
|
||||
<form>
|
||||
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn'\" >
|
||||
<input type=\"button\" VALUE=\"Continue\" onClick=\"location.href='http://$gatewayfqdn/?$randquery'\" >
|
||||
</form>
|
||||
<hr>
|
||||
"
|
||||
@@ -483,6 +483,8 @@ display_terms() {
|
||||
# #
|
||||
#################################################
|
||||
|
||||
randquery="$(date | sha256sum | awk '{printf "%s", $1}')"
|
||||
|
||||
# Quotas and Data Rates
|
||||
#########################################
|
||||
# Set length of session in minutes (eg 24 hours is 1440 minutes - if set to 0 then defaults to global sessiontimeout value):
|
||||
|
||||
Reference in New Issue
Block a user