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

    (@cyberlord92)

    Hi,

    That’s done by design since not all social media applications return a username. Name is one of the parameters which is returned by most applications. Those applications which return username(like Twitter), we register the user by their username. Which application are you referring to? How do you want the username to be set?

    miniOrange Team

    Thread Starter aaronmcnany

    (@aaronmcnany)

    Ideally it would just be ‘firstnamelastname’ with no spaces or dashes.

    Plugin Author miniOrange

    (@cyberlord92)

    That is possible. Currently, there is no option to set it from UI but you can add the given code in class-mo-openid-login-widget.php.

    Look for
    $username = preg_replace('/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F]/', '', $username);

    and below that add
    $username = str_replace(' ','',$username);

    Does that help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Username and Password’ is closed to new replies.