checkEmail

private fun checkEmail(userExists: Boolean, email: String, username: String, password: String)

Checks whether the entered email is unique.

Parameters

userExists

true if the entered email is already in the database; false, otherwise

email

Email address entered by the user

username

Username entered by the user

password

Password entered by the user