Hello,
I would like to have a system that, when a user try to register, it is then confirmed by an admin, so I try to do it with authentication challenge.
I send email to admin with 2 links, 1 for confirm with the code if auth challenge, and 1 for reject. The problem is that for reject, i can’t delete the user by id because the email is send to the admin, so i have the admin infos in the email template.
Is there a way to send the email to the admin but still have the user infos ?
Ty 
have you though about not using the “authentication challenge” system?
Think 3 user roles, like:
Create new users with a “disabled” role, send an email to the admin notifying her/him of the new user and give the admin the possibility to switch the users role. Obviously only give the admin the permission to change roles.
Oh didn’t think to it, but yes it may be a way better option ty 
Hi Enzo! I’m very interested in implementing a similar system in a site that I’m building - with user registration that is overseen by an admin. I wonder if it would be possible to get a glimpse of how you managed this? Code snippets or a quick look at your project?
Hi Jack !
I didn’t use KirbyCMS since this (it was an internship) and I don’t remember much about what I’ve done. Also I don’t have access to the source code anymore, sorry
.