Roxen.git / server / modules / security / auth_httpcookie.pike

version» Context lines:

Roxen.git/server/modules/security/auth_httpcookie.pike:1:   constant cvs_version = -  "$Id: auth_httpcookie.pike,v 1.7 2001/08/13 18:17:16 per Exp $"; +  "$Id: auth_httpcookie.pike,v 1.8 2001/08/28 15:48:00 per Exp $";   inherit AuthModule;   inherit "module";      #define COOKIE "_roxen_cookie_auth"      constant name = "cookie";      //<locale-token project="mod_auth_httpcookie">_</locale-token>   #define _(X,Y) _DEF_LOCALE("mod_auth_httpcookie",X,Y)   
Roxen.git/server/modules/security/auth_httpcookie.pike:126:    ({"PWINPUT", "UNINPUT", "REALM"}),    ({    "<input size=16 type='password' name='_cookie_password' />",    "<input size=16 name='_cookie_username' />",    realm    }) ), id );   }      void start()   { + #if constant(REPLICATE) +  set_my_db( "replicate" ); + #endif +     table =    get_my_table("",    ({    "cookie varchar(40) PRIMARY KEY NOT NULL",    "password varchar(40) NOT NULL",    "name varchar(40) NOT NULL"    }),    "Used to store the information nessesary to "    "authenticate roxen users" );   }