pluf2

pluf2 Commit Details


Date:2009-06-29 08:39:42 (15 years 5 months ago)
Author:Loic d'Anterroches
Branch:master
Commit:68cc225bb566ac4d80db6192f7816200487f66c1
Parents: dbba527c951ce0a1d91b58900ef5dc3e1eabd445
Message:Prevent the submission of the form with an empty login/password.

Changes:

File differences

src/Pluf/Views.php
5757
5858
5959
60
60
61
62
6163
6264
6365
$success_url = $request->REQUEST['_redirect_after'];
}
$error = '';
if ($request->method == 'POST') {
if ($request->method == 'POST'
and isset($request->POST['login'])
and isset($request->POST['password'])) {
$users = new Pluf_User();
if (false === ($user = $users->checkCreditentials($request->POST['login'], $request->POST['password']))) {
$error = __('The login or the password is not valid. The login and the password are case sensitive.');

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.05949s using 13 queries.