UNPKG

sails-api-jwt

Version:

An example implementation of JWT-based API for user registration and authorization.

13 lines (11 loc) 330 B
/* * Constants for Application */ module.exports = { EMAIL_IN_USE: 'Email in use', INVALID_EMAIL_PASSWORD: 'Invalid email or password', INVALID_PASSWORD: 'Invalid password', USER_LOCKED: 'User locked', USER_NOT_FOUND: 'User not found', INACTIVE_TOKEN: 'Inactive token' // Not used anymore. Was build with old password };