Custom Authorization with Frontenduser on V2

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
ulli
New Member
New Member
Posts: 3
Joined: Tue Oct 25, 2016 7:50 am

Custom Authorization with Frontenduser on V2

Post 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.
ulli
New Member
New Member
Posts: 3
Joined: Tue Oct 25, 2016 7:50 am

Re: Custom Authorization with Frontenduser on V2

Post by ulli »

solved -

bug submitted.

[edited by moderator]
Post Reply

Return to “Developers Discussion”