mirror of
https://github.com/friendica/friendica
synced 2025-04-27 10:30:10 +00:00
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:
parent
576eb6cc38
commit
ebdf0ee99e
6 changed files with 38 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue