How to use an id instead of a mailadres as user in feu

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
babel
Forum Members
Forum Members
Posts: 147
Joined: Fri Oct 19, 2012 8:58 pm

How to use an id instead of a mailadres as user in feu

Post by babel »

In FrontEndUser the mailadres is used as default. I need an id as default. How can I change that. The documentation says
{feu_user_options [group=string] [notdisabled=bool] [notexpired=bool] [use_userids=bool] [selected=mixed]} where I think use_userids=true is what I'm looking for. But I have no idea where to put this, if it's correct.
I'm sure there is someone who knows more about this.
I'm using FEU 2.14.1 and CMS MS 2.2.7
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: How to use an id instead of a mailadres as user in feu

Post by DIGI3 »

The {feu_user_options} is a Smarty function to use in admin, likely for building modules that interface with FEU.

I don't think FEU has a built-in method for using userID's as logins. As far as I know you can only choose between emails or user names. It does have the ability to choose a different authentication method/module, but that's something you would need to provide separately.
Not getting the answer you need? CMSMS support options
babel
Forum Members
Forum Members
Posts: 147
Joined: Fri Oct 19, 2012 8:58 pm

Re: How to use an id instead of a mailadres as user in feu

Post by babel »

Thanks DIGI3 for your answer. I was looking for an alternative for mailadres as username. Unfortunately I'm not capable of making a different authentication-method.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: How to use an id instead of a mailadres as user in feu

Post by DIGI3 »

You can use usernames that aren't the email address, but they are user-selected, you can't match them to another field like ID.

In Site Admin > FEU Settings, change "Email address is username:" to "no".
Not getting the answer you need? CMSMS support options
babel
Forum Members
Forum Members
Posts: 147
Joined: Fri Oct 19, 2012 8:58 pm

Re: How to use an id instead of a mailadres as user in feu

Post by babel »

Yes, DIGI3, I've used it. It works but it has to be unique. In my case this shouldn't be.
Thanks again for being helpful
Post Reply

Return to “Modules/Add-Ons”