mirror of
https://github.com/System-End/shipment-viewer.git
synced 2026-04-19 16:28:19 +00:00
make sure those home-baked cookies don't go stale
This commit is contained in:
parent
5ec2e3b1ee
commit
e6b494a236
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<div class="container">
|
||||
<div class="card sunken internal">
|
||||
<h1>here be dragons :-P</h1>
|
||||
<form action="javascript:void(0);" onsubmit="document.cookie = `internal_key=${$('#key').value}`; alert('set!'); return false">
|
||||
<form action="javascript:void(0);" onsubmit="document.cookie = `internal_key=${$('#key').value};max-age=31536000`; alert('set!'); return false">
|
||||
<input type="password" placeholder=":3" id="key" name="key" style="margin-top: var(--spacing-3)"> <br/>
|
||||
<input class="button" type="submit" style="margin-top: var(--spacing-3); margin-bottom: var(--spacing-3);" value="save">
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue