Keep previous autologin security key in database, in case the client STILL hasn't got the new cookie

This commit is contained in:
Kijin Sung 2023-08-04 02:21:01 +09:00
parent 348d1c4352
commit 555f5b6017
5 changed files with 37 additions and 10 deletions

View file

@ -5,6 +5,7 @@
<columns>
<column name="autologin_key" var="autologin_key" notnull="notnull" minlength="1" maxlength="80" />
<column name="security_key" var="security_key" notnull="notnull" minlength="1" maxlength="80" />
<column name="previous_key" var="previous_key" />
<column name="member_srl" var="member_srl" notnull="notnull" filter="number" />
<column name="regdate" var="regdate" default="curdate()" />
<column name="ipaddress" var="ipaddress" default="ipaddress()" />

View file

@ -4,6 +4,7 @@
</tables>
<columns>
<column name="security_key" var="security_key" />
<column name="previous_key" var="previous_key" />
<column name="last_visit" var="last_visit" default="curdate()" />
<column name="last_ipaddress" var="last_ipaddress" default="ipaddress()" />
<column name="user_agent" var="user_agent" />