Change Details
| src/Pluf/Views.php |
| 57 | 57 | $success_url = $request->REQUEST['_redirect_after']; |
| 58 | 58 | } |
| 59 | 59 | $error = ''; |
| 60 | | if ($request->method == 'POST') { |
| 60 | if ($request->method == 'POST' |
| 61 | and isset($request->POST['login']) |
| 62 | and isset($request->POST['password'])) { |
| 61 | 63 | $users = new Pluf_User(); |
| 62 | 64 | if (false === ($user = $users->checkCreditentials($request->POST['login'], $request->POST['password']))) { |
| 63 | 65 | $error = __('The login or the password is not valid. The login and the password are case sensitive.'); |
Download the corresponding diff file