]> git.mxchange.org Git - friendica.git/commit
Ensure register records aren't created with uid = 0
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 18 Nov 2022 21:04:02 +0000 (16:04 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Fri, 18 Nov 2022 21:04:02 +0000 (16:04 -0500)
commit6460218c0eafbb0e567885e1166e2427c6f41068
tree65903a38910005b4f8d2aaea2d5f961e62b0f450
parentc07af2a0ede2afa013864404e336e6a2bd8a4cf0
Ensure register records aren't created with uid = 0

- uid = 0 matches system account and public contact records, giving unexpected display in pending user list. More importantly, the originally created user can't be approved since its user id is lost.
src/Model/Register.php
src/Module/Register.php