CodeIgniter Forums
Community Auth Issue - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13)
+--- Thread: Community Auth Issue (/showthread.php?tid=68797)

Pages: 1 2


RE: Community Auth Issue - jaystream - 08-31-2017

Shoot.. You got my point. Community Auth is now working and it solve my problem. I did not even think to try that package autoload.. Shy  Shy Big Grin

Anyway, thank you for your time and support.

Have a great day,
Jay


RE: Community Auth Issue - dave friend - 09-05-2017

Jay, you might like to know that skunkbad is the developer of Community Auth. So, "Community Auth" has been working to solve your problem from the start of this thread.


RE: Community Auth Issue - jaystream - 09-05-2017

(09-05-2017, 02:26 PM)dave friend Wrote: Jay, you might like to know that skunkbad is the developer of Community Auth. So, "Community Auth" has been working to solve your problem from the start of this thread.

Hey Dave, thanks for the info. All is good.


RE: Community Auth Issue - bocahapi - 12-05-2017

hi Skunkbad, can you help me ?
i have ( 3 ) three problems in different case.
1. After install and create user "skunkbad" in Community Auth, i still can't login. the limit login error still count.
2. in the other case i can login with same step installation. but in this case i wanna add new "level" and "role", but i can't, im try editing file application/config/authentication.php. lets say im make it :
$config['levels_and_roles'] = [
'1' => 'subscriber',
'2' => 'contributor',
'6' => 'editor',
'9' => 'superadmin'
];
then i try to echo $this->auth_role the result still 'customer'.
3. The last issues, i wanna set authentication value with dynamic setting by Admin. lets say i wanna set:
$config['max_allowed_attempts'] = setting_admin('limit_login'); but no setting change. then i try to echo setting_admin('limit_login'); i get DUPLICATE output, the right output is 100, but i get 100100.


RE: Community Auth Issue - skunkbad - 12-05-2017

(12-05-2017, 04:06 PM)bocahapi Wrote: hi Skunkbad, can you help me ?
i have ( 3 ) three  problems in different case.
1. After install and create user "skunkbad" in Community Auth, i still can't login. the limit login error still count.
2. in the other case i can login with same step installation. but in this case i wanna add new "level" and "role", but i can't, im try editing file application/config/authentication.php. lets say im make it :
$config['levels_and_roles'] = [
'1' => 'subscriber',
       '2' => 'contributor',
'6' => 'editor',
'9' => 'superadmin'
];
then i try to echo $this->auth_role the result still 'customer'.
3. The last issues, i wanna set authentication value with dynamic setting by Admin. lets say i wanna set:
$config['max_allowed_attempts'] = setting_admin('limit_login'); but no setting change. then i try to echo setting_admin('limit_login'); i get DUPLICATE output, the right output is 100, but i get 100100.

I'll do my best to give you advice.

1) Almost every case of not being able to login has been that people have not completely followed the directions when installing Community Auth. Try doing an installation again being very careful to read every step, and if you don't understand something then please come back and ask.

2) If you change the user roles it really should not affect the application, other than the way you authenticate users. I see you still have superadmin at level 9, so even if you were using the examples it should still authenticate. I'd need to see you code to find out where you went wrong. If you have a repository and want to give me access, I'd be glad to take a look.

3) Trying to have a dynamic "max_login_attempts" is surely possible, I mean anything is possible, right? This is beyond the scope of what I can support. Maybe somebody else would be willing to help you with this if you can't figure it out.


RE: Community Auth Issue - bocahapi - 12-09-2017

(12-05-2017, 06:12 PM)skunkbad Wrote:
(12-05-2017, 04:06 PM)bocahapi Wrote: hi Skunkbad, can you help me ?
i have ( 3 ) three  problems in different case.
1. After install and create user "skunkbad" in Community Auth, i still can't login. the limit login error still count.
2. in the other case i can login with same step installation. but in this case i wanna add new "level" and "role", but i can't, im try editing file application/config/authentication.php. lets say im make it :
$config['levels_and_roles'] = [
'1' => 'subscriber',
       '2' => 'contributor',
'6' => 'editor',
'9' => 'superadmin'
];
then i try to echo $this->auth_role the result still 'customer'.
3. The last issues, i wanna set authentication value with dynamic setting by Admin. lets say i wanna set:
$config['max_allowed_attempts'] = setting_admin('limit_login'); but no setting change. then i try to echo setting_admin('limit_login'); i get DUPLICATE output, the right output is 100, but i get 100100.

I'll do my best to give you advice.

1) Almost every case of not being able to login has been that people have not completely followed the directions when installing Community Auth. Try doing an installation again being very careful to read every step, and if you don't understand something then please come back and ask.

2) If you change the user roles it really should not affect the application, other than the way you authenticate users. I see you still have superadmin at level 9, so even if you were using the examples it should still authenticate. I'd need to see you code to find out where you went wrong. If you have a repository and want to give me access, I'd be glad to take a look.

3) Trying to have a dynamic "max_login_attempts" is surely possible, I mean anything is possible, right? This is beyond the scope of what I can support. Maybe somebody else would be willing to help you with this if you can't figure it out.

thanks Skunkbad, i will try again, if i get some error again i will set my repo to public. Cool


RE: Community Auth Issue - skunkbad - 12-09-2017

(12-09-2017, 05:39 PM)bocahapi Wrote:
(12-05-2017, 06:12 PM)skunkbad Wrote:
(12-05-2017, 04:06 PM)bocahapi Wrote: hi Skunkbad, can you help me ?
i have ( 3 ) three  problems in different case.
1. After install and create user "skunkbad" in Community Auth, i still can't login. the limit login error still count.
2. in the other case i can login with same step installation. but in this case i wanna add new "level" and "role", but i can't, im try editing file application/config/authentication.php. lets say im make it :
$config['levels_and_roles'] = [
'1' => 'subscriber',
       '2' => 'contributor',
'6' => 'editor',
'9' => 'superadmin'
];
then i try to echo $this->auth_role the result still 'customer'.
3. The last issues, i wanna set authentication value with dynamic setting by Admin. lets say i wanna set:
$config['max_allowed_attempts'] = setting_admin('limit_login'); but no setting change. then i try to echo setting_admin('limit_login'); i get DUPLICATE output, the right output is 100, but i get 100100.

I'll do my best to give you advice.

1) Almost every case of not being able to login has been that people have not completely followed the directions when installing Community Auth. Try doing an installation again being very careful to read every step, and if you don't understand something then please come back and ask.

2) If you change the user roles it really should not affect the application, other than the way you authenticate users. I see you still have superadmin at level 9, so even if you were using the examples it should still authenticate. I'd need to see you code to find out where you went wrong. If you have a repository and want to give me access, I'd be glad to take a look.

3) Trying to have a dynamic "max_login_attempts" is surely possible, I mean anything is possible, right? This is beyond the scope of what I can support. Maybe somebody else would be willing to help you with this if you can't figure it out.

thanks Skunkbad, i will try again, if i get some error again i will set my repo to public. Cool

Sounds good.