• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Custom Authorization with Frontenduser on V2
PostPosted: Wed Feb 06, 2019 6:30 pm 
Offline
New Member
New Member

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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Custom Authorization with Frontenduser on V2
PostPosted: Thu Feb 07, 2019 6:50 am 
Offline
New Member
New Member

Joined: Tue Oct 25, 2016 7:50 am
Posts: 3
solved -

bug submitted.

[edited by moderator]


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting