summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-01-03 23:44:53 +0100
committerlpsolit%gmail.com <>2006-01-03 23:44:53 +0100
commite16ca48833e9dd774a61eaab7ca32c44ce6a4276 (patch)
treefc19ca29fde4d73f039a38fd9c5f69373e5a5d63 /Bugzilla/DB
parent093f6970ea0e8356b5f8a51ec916926fcb68b41f (diff)
downloadbugzilla-e16ca48833e9dd774a61eaab7ca32c44ce6a4276.tar.gz
bugzilla-e16ca48833e9dd774a61eaab7ca32c44ce6a4276.tar.xz
Bug 119524: SECURITY: predictable sessionid (Use a token instead of logincookie) - Patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=mkanat a=justdave
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Schema.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 389462263..63b19578d 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -678,7 +678,7 @@ use constant ABSTRACT_SCHEMA => {
logincookies => {
FIELDS => [
- cookie => {TYPE => 'MEDIUMSERIAL', NOTNULL => 1,
+ cookie => {TYPE => 'varchar(16)', NOTNULL => 1,
PRIMARYKEY => 1},
userid => {TYPE => 'INT3', NOTNULL => 1},
ipaddr => {TYPE => 'varchar(40)', NOTNULL => 1},