Report of Users that Login Using the Username instead of Email

Overview

This article is for admins who want to see how many users and which users are logging in using their “username” instead of “email” when using Universal Login.

Applies To

  • Database
  • Universal Login
  • Report

Solution

For users associated with a custom database, use the api/v2/logs endpoint, filter by type ‘s’ for successful login, and check the value of the “user_name” field to see if it has an email address or not and then count those logs. However, some users may use their email address as their username, so that would not be an accurate count.

For users associated with a regular database, a username is always recorded in the “user_name” field regardless of whether a user logs in with a username or an email address, so it is impossible to count.

We have a backlog for this feature - stats on users who are using ‘username’ vs. ‘email’ in the Universal Login form - but there is no ETA yet.