add expires parameter to auth method selection cookie
This commit is contained in:
parent
0dec54ace0
commit
5676194e56
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@
|
|||
<p><b i18n:translate="set-authentication-method">Set Authentication Method</b></p>
|
||||
<span i18n:translate="authentication-method">Authentication Method</span>:
|
||||
<select name="auth_method"
|
||||
onchange="document.cookie=`loops_auth_method=${this.value}; path=/`"
|
||||
onchange="document.cookie=`loops_auth_method=${this.value}; path=/; expires=Sun, 31 Jan 2027 12:00:00 UTC`"
|
||||
tal:define="meth view/authMethod"
|
||||
tal:attributes="value meth">
|
||||
<option value="legacy" i18n:translate="authentication-method-legacy"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue