Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!._isEmpty(error.data)){
- if (!_.isEmpty(error.data.current_password) && _.isArray(error.data.current_password)) {
- ErrorManager.errorMessage({message: error.data.current_password[0]});
- } else {
- ErrorManager.errorMessage({translation: __CANT_UPDATE_PASSWORD__});
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement