Re: [Tiki-devel] Enabling "Use email as username" on a populated Tiki23

Bernard Sfez via TikiWiki-devel <[email protected]>
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
>> enabled because "email as username" isn't fully private

In my case the user have user trackers so they have a Real Name that is available.

At tiki-admin.php?page=login => Username, I enabled;
Obscure email when using email as username
This will attempt as much as possible to hide the email address, showing the real name or the truncated email address instead.

Is it really working well… Too well !!!
I need a way for the admin to see the users email. 😂

Bernard

> On 22 Dec 2021, at 13:09, Bernard Sfez via TikiWiki-devel <[email protected]> wrote:
> 
> Thank you for explanation.
> 
>> it's really not a good idea to change that once you have a load of users
> 
> This is not really a question of sudden idea. 10 years ago internet was different and admin have to follow... ;-)
> 
> Feature request posted so we have track of things : https://dev.tiki.org/item8002-Admin-Log-in-when-enabling-disabling-Use-email-as-username-a-conversion-should-be-offered-to-manage-previous-user
> 
> See you,
> Bernard
> 
> 
>> On 22 Dec 2021, at 12:49, Jonny Bradley via TikiWiki-devel <[email protected]> wrote:
>> 
>> Hi Bernard
>> 
>> It's always been like this, and it's really not a good idea to change that once you have a load of users. Your best bet i think is to make the changes in the database directly...
>> 
>> I have a site that we are switching from "email as username" to normal username and "can log in using username or email" enabled because "email as username" isn't fully private, as it warns on the pref. I've written a script to do the conversion which i've been meaning to commit to devtools as an example, it will happen one day (probably) but won't really help you here...
>> 
>> So i think as you say, either export and import or play with the data in the database directly (carefully ;) is your only option.
>> 
>> jonny
>> 
>> 
>> 
>> 
>>> On 22 Dec 2021, at 08:05, Bernard Sfez via TikiWiki-devel <[email protected]> wrote:
>>> 
>>> Hello and sorry to ask this here but I have no clue if this behaviour is a regression, a bug or was always like this.
>>> 
>>> 
>>> I have a working (upgraded) Tiki23 with plenty of registered users (username and email).
>>> Now I want to change the log-in preference and to Use email as username.
>>> 
>>> At tiki-admin.php?page=login
>>> Username
>>> I enable "Use email as username”.
>>> 
>>> Technically, all seems to work;
>>> I can login using the previous username and the email (good)
>>> When registering a new user only the email field is displayed
>>> 
>>> But admin the users become harder.
>>> At : /tiki-adminusers.php, the email column email doesn’t show up anymore, which make sense as now the user should show the email as username.
>>> However for previous account that have a username and an email, the col user display their previous (existing) username.
>>> And if I click on a user the first field is now “email” with the previous username value.
>>> 
>>> I have no way to find the email that are linked with users from the admin user.
>>> Seems everywhere the field Email displays the previous username value (tiki-user_information.php, etc)
>>> 
>>> Was it always like this ?
>>> Shouldn’t the user displayed “user mail” when "Use email as username” is enable instead of the username ?
>>> 
>>> Or, is it a kind of dark area where the Tiki admin should handle it by himself ? (Export all user, merge username and email and import… 🤔)
>>> 
>>> Bernard
>>> 
>>> _______________________________________________
>>> TikiWiki-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>> 
>> 
>> 
>> _______________________________________________
>> TikiWiki-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
> 
> 
> 
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.