mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
fixed #1802 fixed double escape for user creation, album creation and comments
This commit is contained in:
1 parent
6278be093a
commit
32ea1aef53
3 files changed
+4
-4
No files matched your search
@@ -173,7 +173,7 @@ function register_user($login, $password, $mail_address, $notify_admin=true, &$e
|
||||
if (empty($errors))
|
||||
{
|
||||
$insert = array(
|
||||
$conf['user_fields']['username'] => pwg_db_real_escape_string($login),
|
||||
$conf['user_fields']['username'] => $login,
|
||||
$conf['user_fields']['password'] => $conf['password_hash']($password),
|
||||
$conf['user_fields']['email'] => $mail_address
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user