ecd6e5bc9b85bcbafb08da0c1dae876b284ba69c
angie
  Fri May 20 16:17:00 2016 -0700
New random-token method for login (HT Max & Galt): instead of requiring a new table gbMemberToken, use autoUpgrade to add a new column (keyList) to gbMembers that contains a list of long random keys, analogous to userDb and sessionDb's sessionKey (see cartDb.c).  The token cookie now includes both gbMembers.idx (for fast lookup) and the long random key, similar to the hguid cookie and hgsid CGI param.  keyList is a list in order to support user login on multiple web clients.  refs #17327 #17336 note-11

diff --git src/hg/lib/gbMemberToken.sql src/hg/lib/gbMemberToken.sql
deleted file mode 100644
index d9a20cd..0000000
--- src/hg/lib/gbMemberToken.sql
+++ /dev/null
@@ -1,14 +0,0 @@
-# gbMemberToken.sql was originally generated by the autoSql program, which also 
-# generated gbMemberToken.c and gbMemberToken.h.  This creates the database representation of
-# an object which can be loaded and saved from RAM in a fairly 
-# automatic way.
-
-#Maps random token to values of gbMembers.userName
-CREATE TABLE gbMemberToken (
-    token int unsigned not null,	# Random nonzero number
-    userName varchar(255) not null,	# Name used to login in hgLogin
-    createTime varchar(255) not null,	# Date and time at which token was created
-    validUntil varchar(255) not null,	# Date and time until which token will be removed from table, NULL: do not remove
-              #Indices
-    PRIMARY KEY(token)
-);