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.4 2001/01/29 05:40:32 per Exp $"; +  "$Id: auth_httpcookie.pike,v 1.5 2001/03/08 14:35:45 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)      #include <module.h>      LocaleString module_name = -  _(1,"HTTP Cookie authentication"); +  _(1,"Authentication: HTTP Cookie");      LocaleString module_doc =    _(2,"Authenticate users using a cookie.");      static User low_authenticate( RequestID id,    string user, string password,    UserDB db )   {    if( User u = db->find_user( user ) )    if( u->password_authenticate( password ) )