Welcome Guest, Not a member yet? Register   Sign In
Community Auth Issue
#15

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


Messages In This Thread
Community Auth Issue - by jaystream - 08-27-2017, 03:40 AM
RE: Community Auth Issue - by skunkbad - 08-27-2017, 03:10 PM
RE: Community Auth Issue - by jaystream - 08-28-2017, 04:44 PM
RE: Community Auth Issue - by skunkbad - 08-28-2017, 11:36 PM
RE: Community Auth Issue - by jaystream - 08-30-2017, 08:36 AM
RE: Community Auth Issue - by skunkbad - 08-30-2017, 05:19 PM
RE: Community Auth Issue - by jaystream - 08-31-2017, 01:42 AM
RE: Community Auth Issue - by sasbass - 08-31-2017, 02:24 AM
RE: Community Auth Issue - by jaystream - 08-31-2017, 02:50 AM
RE: Community Auth Issue - by skunkbad - 08-31-2017, 11:02 AM
RE: Community Auth Issue - by jaystream - 08-31-2017, 05:21 PM
RE: Community Auth Issue - by dave friend - 09-05-2017, 02:26 PM
RE: Community Auth Issue - by jaystream - 09-05-2017, 05:43 PM
RE: Community Auth Issue - by bocahapi - 12-05-2017, 04:06 PM
RE: Community Auth Issue - by skunkbad - 12-05-2017, 06:12 PM
RE: Community Auth Issue - by bocahapi - 12-09-2017, 05:39 PM
RE: Community Auth Issue - by skunkbad - 12-09-2017, 09:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB