Branch: Tag:

2015-03-13

2015-03-13 14:29:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

AC: Fixed typo in auth_httpcookie.

65:   protected string create_cookie( string u, string p )   {    string c = -  String.string2hex(Crypto.SHA1.hash(COOKIE + u + "\0" + p + COOKIE); +  String.string2hex(Crypto.SHA1.hash(COOKIE + u + "\0" + p + COOKIE));    catch(get_my_sql()->query( "INSERT INTO "+table+" "    "(cookie,name,password,timeout) "    "VALUES (%s,%s,%s)",