CodeIgniter Forums
Shield | Invite user - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: Shield | Invite user (/showthread.php?tid=90554)



Shield | Invite user - chakycool - 04-01-2024

Hi,
I'm creating app using "Shield Auth" library and I don't want users to register but be invited by the admin. So the flow I need is 

  1. admin trigger a email to the user (shield create user with only email and no password on DB)
  2. user get a link that get verified by shield when clicked
  3. valid users are prompted to setup a password (with out old-password).
Can someone help me with these steps. I want to rely only on shield features and create custom functions only if needed so that I can keep using Shield with future updates with almost no code updates.


RE: Shield | Invite user - luckmoshy - 04-02-2024

Perhaps this might be a good starting point for your project Bonfire2 is one of the best Admin starting point for Ci4+

https://github.com/lonnieezell/Bonfire2/tree/develop


RE: Shield | Invite user - chakycool - 04-02-2024

Didn't know that we had Bornfire-2 out, nice!
Thank you luckmoshy, I will give this a try.