redirect to manage page on transfer to non-exist account

merge-requests/208/head
fatchan 5 years ago
parent f0795a959f
commit 59ab7171e3
  1. 2
      models/forms/transferboard.js

@ -10,7 +10,7 @@ module.exports = async (req, res, next) => {
return res.status(400).render('message', {
'title': 'Bad request',
'message': 'Cannot transfer to account that does not exist',
'redirect': redirect
'redirect': `/${req.params.board}/manage.html`
});
}

Loading…
Cancel
Save