CMS Made Simple Forums

Custom Authorization with Frontenduser on V2
Page 1 of 1

Author:  ulli [ Wed Feb 06, 2019 6:30 pm ]
Post subject:  Custom Authorization with Frontenduser on V2

I try to upgrade my site fromt cmsmadesimple V1 to V2 (not the first attempt). I have a custom authorization module based on FEU_Auth_Basic (actually named FEU_Auth_WKO) and can not get it to work again.
- in module manager FEU_Auth WKO is installed
- in Frontenduser Settings it is set as authentication modul
in the page the tag is {FrontEndUsers} which gives me the Frontenduser login form and not the FEU_AUth_WKO - login form as is CMS V1.
I think the reason is that
the interface file class.feu_wko_consumer.php (class feu_wko_consumer implements feu_auth_consumer )
was called with
- has_capability
- get_capabilities
- get_usename_prompt
but not the function "get_login_display"

what i am missing?

and a maybe a bug in interface.feu.auth.consumer.php:

* Test if the consumer has the capability
* Accepts a single capability identifier, or list of argument capabilities.
* returns TRUE if any of the passed in properties match.
* returns FALSE otherwise.
public function has_capability();

- here is the identifier in the function declaration missing - and causes an error in my file.

Author:  ulli [ Thu Feb 07, 2019 6:50 am ]
Post subject:  Re: Custom Authorization with Frontenduser on V2

solved -

bug submitted.

[edited by moderator]

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group