findByEmail

abstract fun findByEmail(email: String): User?

Finds a user by their email address.

Return

the user associated with the given email, or null if no such user exists.

Parameters

email

the email address to search for.