prevent re-registrations using a deleted username - not an issue with Friendica but could create a serious privacy issue with federated platforms

This commit is contained in:
friendica 2012-03-22 01:46:52 -07:00
parent 576eb6cc38
commit ebdf0ee99e
6 changed files with 38 additions and 2 deletions

View file

@ -64,6 +64,11 @@ function user_allow($hash) {
}
// This does not have to go through user_remove() and save the nickname
// permanently against re-registration, as the person was not yet
// allowed to have friends on this system
function user_deny($hash) {
$register = q("SELECT * FROM `register` WHERE `hash` = '%s' LIMIT 1",