SHIELD: disable autonomous user registration |
Hello
I'm experimenting with SHIELD because my need is to make a totally private app on a public hosting Because of that, I'd like to make the registration process fully private too, more precisely I'd like that me as administrator, will be the unique one that is enabled to register users from "the admin side" Later the whole app (from root to bottom) will be protected by SHIELD authentication while publicly it will be seen only the login page but trimmed to just user name and password fields They come to my mind few manners for achieving that though I thank you so much if some SHIELD expert can point out the correct approach and methods to do achieve that , at least the part to correctly disable the users self registration Thank you Hello found one setting in \app\Config\Auth.php PHP Code: /** which is the case Now it does remain the case of an administrator users registration section: should be written from scratch? Or it can be done something making use of the SHIELD controllers and views? Thank you About an Admin Users creation/registration controller and view Looks like the it should be used this part of the guide https://shield.codeigniter.com/user_mana...ting-users (well looks like that writing on the forum, allows me to find the right addresses on the guide)
This is what I use to create the SuperAdmin Account, it depends on what the default user group is set to in
app/Config/AuthGroups.php PHP Code: /** What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(01-21-2024, 10:35 AM)InsiteFX Wrote: This is what I use to create the SuperAdmin Account, it depends on what the default user group is set to in thank you |
Welcome Guest, Not a member yet? Register Sign In |