• The get_user_by_uri() static functiopn should support useranmes which are email addresses

    I patched it by adding:

    `case ‘acct’: // check acct scheme

    if ($the_user = get_user_by(‘login’, $host)){

    return $the_user;

    }

    Woocommerce and plenty of other plugins use the email address as the username. So probably best to support this. Can you please add this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matthias Pfefferle

    (@pfefferle)

    I thought I added this feature lately, but even if not, I am not aware that any client supports something like [email protected]@host.tld ??

    Thread Starter shawfactor

    (@shawfactor)

    No the feature is not added (or maybe not working), I think not added as I could not find anything in the code.

    Can you please add it or alternatively a filter on that function would suffice?

    My issue is that all accounts on my network are email addresses, they all have their own domain but end game is to just have

    [email protected] (which is also my email)
    not
    [email protected]@mydomain.com

    So far I’ve found filters to fix this elsewhere. But there may be other changes needed

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    Ah, I see! This makes totally sense! Thanks for the feedback!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘should support email usernames’ is closed to new replies.