Closed luciocodeigniter closed 1 year ago
The right way is to extend auth config file inside vendor folder to you app/config folder and name it as auth.php. Then inside this file you may disable $allowRegistration property.
If you just want to disable registration, the quick way is to remove redistration post route. Of course CI's autorouting must be disabled. After this if someone tries to register, they will see 404 error page. That's all.
There is no answer from author more than two weeks. Closing it as solved.
How to disable new account creation without changing $allowRegistration property in vendor?