Skip to content

npp_usr_email_registered

Jurek Muszyński edited this page Mar 28, 2024 · 3 revisions

int npp_usr_email_registered()

Description

Checks whether email is already registered in users table.

npp_usr_xxx functions directly read the query string / payload data.

Request must contain the following parameters:

  • email

Returns

Returns OK if the email address has not yet been registered, or one of the error codes:

  • ERR_INVALID_REQUEST
  • ERR_EMAIL_TAKEN
  • ERR_INT_SERVER_ERROR

Example

Notes

Requires NPP_USERS compilation switch.

Clone this wiki locally