mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Now storing events, including parsing them into further SQL.
This commit is contained in:
1 parent
5c69ce125a
commit
d64d2b4000
16 files changed
+110
-98
No files matched your search
@@ -19,7 +19,7 @@ if ( !function_exists("session_salted_md5") ) {
|
||||
*/
|
||||
function session_salted_md5( $instr, $salt = "" ) {
|
||||
if ( $salt == "" ) $salt = substr( md5(rand(100000,999999)), 2, 8);
|
||||
dbg_error_log( "Login: Making salted MD5: salt=$salt, instr=$instr, md5($salt$instr)=".md5($salt . $instr) );
|
||||
dbg_error_log( "Login", "Making salted MD5: salt=$salt, instr=$instr, md5($salt$instr)=".md5($salt . $instr) );
|
||||
return ( sprintf("*%s*%s", $salt, md5($salt . $instr) ) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user