salix/services/service/models/account.js

8 lines
167 B
JavaScript
Raw Normal View History

module.exports = function(Account) {
// Validations
Account.validatesUniquenessOf('name', {
message: 'Ya existe un usuario con ese nombre'
});
};