mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 03:09:58 +03:00
Escape all login and username characters in database
Display correctly usernames (I hope not to have made mistakes) git-svn-id: http://piwigo.org/svn/trunk@4304 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
8a29965450
commit
1235bab527
19 changed files with 43 additions and 43 deletions
|
@ -84,7 +84,7 @@ WHERE '
|
|||
$new_password = generate_key(6);
|
||||
|
||||
$infos =
|
||||
l10n('Username').': '.$row['username']
|
||||
l10n('Username').': '.stripslashes($row['username'])
|
||||
."\n".l10n('Password').': '.$new_password
|
||||
;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue