-
jaystream
Newbie
-
Posts: 7
Threads: 1
Joined: Aug 2017
Reputation:
0
08-31-2017, 05:21 PM
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..
Anyway, thank you for your time and support.
Have a great day,
Jay
-
jaystream
Newbie
-
Posts: 7
Threads: 1
Joined: Aug 2017
Reputation:
0
(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.
-
bocahapi
Amateur
-
Posts: 5
Threads: 1
Joined: Dec 2017
Reputation:
0
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.
-
skunkbad
Senior Citizen
-
Posts: 1,300
Threads: 63
Joined: Oct 2014
Reputation:
86
(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.
-
bocahapi
Amateur
-
Posts: 5
Threads: 1
Joined: Dec 2017
Reputation:
0
(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.
-
skunkbad
Senior Citizen
-
Posts: 1,300
Threads: 63
Joined: Oct 2014
Reputation:
86
(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.
Sounds good.
|