Page 1 of 1

Custom Authorization with Frontenduser on V2

Posted: Wed Feb 06, 2019 6:30 pm
by ulli
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.

Re: Custom Authorization with Frontenduser on V2

Posted: Thu Feb 07, 2019 6:50 am
by ulli
solved -

bug submitted.

[edited by moderator]