Welcome Guest, Not a member yet? Register   Sign In
Controller in Library
#1

Can I use controller in Library in CI4?
Reply
#2

Hello my friend,
Is it possible to explain why you intend to use the controller in the library?
Reply
#3

Of course. I need to do some universal methods for login system. ex. get id of current login user or group level for him.
Reply
#4

Why don't you create a library for login system, and use it in a controller?
Reply
#5

(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.
Reply
#6

CodeIgniter Shield will come soon.
https://github.com/codeigniter4/shield/
Reply
#7

Wooow. Whats the date od release?
Reply
#8

(05-19-2022, 12:48 AM)kenjis Wrote: CodeIgniter Shield will come soon.
https://github.com/codeigniter4/shield/

What is the difference between this and Myth-Auth?
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply
#9

See
Shield - an Auth library | Lonnie Ezell on Patreon
https://www.patreon.com/posts/shield-auth-64914665
Reply
#10

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 )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB