diff options
Diffstat (limited to 'modules/viewvc')
-rw-r--r-- | modules/viewvc/files/setcookieredirect.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/viewvc/files/setcookieredirect.html b/modules/viewvc/files/setcookieredirect.html index 04ec8e80..3adefed2 100644 --- a/modules/viewvc/files/setcookieredirect.html +++ b/modules/viewvc/files/setcookieredirect.html @@ -3,7 +3,7 @@ <head> <title>User check</title> <script type="text/javascript" defer> - const randomValue = Math.random().toString(36).substring(2); + const randomValue = "6436"; // Chosen by fair dice roll. Guaranteed to be random. document.cookie = `session=${randomValue}; path=/; expires=${new Date(Date.now() + 24*3600*1000).toUTCString()}`; const params = new Proxy(new URLSearchParams(window.location.search), { get: (searchParams, prop) => searchParams.get(prop), |