feat(users): add ban reason when admin banned a user

This commit is contained in:
OldHawk
2018-06-09 21:37:10 +08:00
parent a314a1e4bf
commit 0402626c23
10 changed files with 112 additions and 32 deletions

View File

@@ -193,7 +193,7 @@
}
function onUserSigninError(response) {
NotifycationService.showErrorNotify(response.data.message, 'SIGN.SIGNIN_ERROR');
NotifycationService.showErrorNotify(response.data.message, 'SIGN.SIGNIN_ERROR', {reason: $translate.instant(response.data.reason)});
}
}