GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Strict but sane Error reporting system
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
inc
/
eventz
/
login.inc
diff --git
a/wwwroot/inc/eventz/login.inc
b/wwwroot/inc/eventz/login.inc
index 5ebb3ae1a42b0b3186501c825c058af56b58e137..8f33e55e684b539d3cdcd0eb708b82577cd1eeb3 100644
(file)
--- a/
wwwroot/inc/eventz/login.inc
+++ b/
wwwroot/inc/eventz/login.inc
@@
-13,7
+13,7
@@
function jabberctl($command, $args) { //XXXTODO Move to some .inc file...
function login_check($login, $password, $login_type='id') {
global $db,$error,$node_id;
function login_check($login, $password, $login_type='id') {
global $db,$error,$node_id;
- $login =
mysql_real
_escape_string($login); //Not SQLi in $password but be carefull
+ $login =
db
_escape_string($login); //Not SQLi in $password but be carefull
$password_hash_algos=array('sha256','sha1','md5'); //List of supported algos can be obtained using: php -r 'print_r(hash_algos());'
$hash_query='(';
$password_hash_algos=array('sha256','sha1','md5'); //List of supported algos can be obtained using: php -r 'print_r(hash_algos());'
$hash_query='(';
This page took
0.092743 seconds
and
4
git commands to generate.