Commit 9a611a58 authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

fix routing mistake

parent 8bc104d8
......@@ -253,7 +253,7 @@ module.exports = function (app, config, passport, i18n) {
else {
req.flash('success', 'Profile updated!');
}
res.redirect('lang+/account/profile');
res.redirect('/profile');
})
}
} else {
......@@ -292,7 +292,7 @@ module.exports = function (app, config, passport, i18n) {
else {
if ( newPwd != retypePwd ) {
req.flash('error', "Passwords do no match. Please make sure you re-type your new password correctly.")
res.redirect(lang+'/account/security')
res.redirect('/security')
}
else {
// update password
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment