Pluf Framework

Sign in or create your account | Project List | Help

Pluf Framework Commit Details

Date:2009-06-29 15:39:42 (8 months 20 days ago)
Author:Loïc d'Anterroches
Commit:68cc225bb566ac4d80db6192f7816200487f66c1
Message:Prevent the submission of the form with an empty login/password.

Files: src/Pluf/Views.php (1 diff)

Change Details

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

Archive Download the corresponding diff file

Branches:
master