1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-01 10:50:37 +02:00

Update plugins/box/users/users.plugin.php

This commit is contained in:
Sergey Romanenko
2012-11-23 16:10:35 +02:00
parent 975877e471
commit 4583b1377a

View File

@@ -393,11 +393,11 @@
Session::set('user_role', (string)$user['role']);
Request::redirect(Site::url().'users/'.Session::get('user_id'));
} else {
Notification::setNow('error', __('Wrong <b>login</b> or <b>password</b>', 'users'));
Notification::setNow('error', __('Wrong <b>username</b> or <b>password</b>', 'users'));
}
}
} else {
Notification::setNow('error', __('Wrong <b>login</b> or <b>password</b>', 'users'));
Notification::setNow('error', __('Wrong <b>username</b> or <b>password</b>', 'users'));
}
} else { die('csrf detected!'); }