Controller in Library |
Hello my friend,
Is it possible to explain why you intend to use the controller in the library?
Of course. I need to do some universal methods for login system. ex. get id of current login user or group level for him.
Why don't you create a library for login system, and use it in a controller?
(05-18-2022, 10:35 AM)tassman Wrote: Of course. I need to do some universal methods for login system. ex. get id of current login user or group level for him. Here are two packages to implement the membership and login system. Use Ion-Auth if you are a beginner and if not beginner use myth-auth . If you want to code yourself, use the method described by Kenjis.
(05-19-2022, 12:48 AM)kenjis Wrote: CodeIgniter Shield will come soon. What is the difference between this and Myth-Auth?
See
Shield - an Auth library | Lonnie Ezell on Patreon https://www.patreon.com/posts/shield-auth-64914665
Isn't it a waste of time when the web is moving over to FIDO Passwordless Authiencation?
SEE: What is FIDO? - FIDO Authentication is the Answer What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |