Page 1 of 1

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

Posted: Sun May 03, 2020 12:48 pm
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

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

Posted: Sun May 03, 2020 3:05 pm
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.

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

Posted: Sun May 03, 2020 3:21 pm
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.

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

Posted: Sun May 03, 2020 3:30 pm
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".

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

Posted: Sun May 03, 2020 5:26 pm
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