Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question regarding Config & User-ID #5

Open
chland opened this issue Jan 9, 2018 · 1 comment
Open

Question regarding Config & User-ID #5

chland opened this issue Jan 9, 2018 · 1 comment

Comments

@chland
Copy link

chland commented Jan 9, 2018

While looking at the code I noticed some code in Ion_auth_acl.php that i don't really understand.

In the constructor of the Ion_auth_acl-class you're setting $this->user_id if no config is provided and i honestly don't understand why.

https://github.com/weblogics/Codeigniter-Ion-Auth-ACL/blob/master/libraries/Ion_auth_acl.php#L29-L35

I guess the "else" shouldn't be there and $this->user_id should always be set as it is used when $this->user_groups is filled.

@weblogics
Copy link
Owner

Hey,

Once again sorry for the lack of response, but I've not received any messages from this repo.

I will have to do some testing on this, its been a "while" since writing this library and I remember doing a few mods for certain projects to improve sections.

@weblogics weblogics reopened this Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants