Myth\Auth |
Dear,
I using MythAuth I do not want use Email How i config for only use Username, no Email, no Activate by email Thanks for help Learning CI4 from my works, from errors and how to fix bugs in the community Love CI & Thanks CI Teams
Not tested but from the comment in the Config/Auth.php
In Config/Auth.pp add this: PHP Code: // Remark this out so that you do not lose it. I did look at the registration code and that is what tells it not to send and email. Good Luck. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Right but if you set the Auth config item to false it should not send the email.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Not sure if this is still relevant. W head a similar use case where we do not want to capture user emails at all. In addition to following the given instructions on the thread, we also had to comment out the email field from the $validationRules property of the UserModel. We did this by extending the UserModel to create a new Model in our app Namespace and then overriding this property without the email in that new model and using that model at most of the places. This worked for us, but I am not sure if this is the right way to go. Any suggestions will be appreciated.
|
Welcome Guest, Not a member yet? Register Sign In |