Modify ↓
Opened 8 years ago
Last modified 8 years ago
#1298 new Bug/Fehler
login.php
| Reported by: | Volker Strähle | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Sicherheit | Version: | 2.0.3.0 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
Ich bin der Meinung, dass in der login.php zu viel unnötiger Code ausgeführt wird.
ca. Zeile 98:
// captcha
$captcha_error = false;
if ($_SESSION['customers_login_tries'] >= LOGIN_NUM) {
if (strtoupper($vvcode) != $captcha) {
$captcha_error = true;
}
}
dann SQL-Abfrage der Tabelle customers,
Danach Prüfung auf $captcha_error === false, ca. Zeile 126
elseif ($captcha_error === false)
Gehört das nicht eher in Zeile 100 mit
if ($captcha_error === false){
// SQL-Abfrage der Tabelle customers
und bei der Prüfung captcha fehlt noch eine Fehlermeldung
Attachments (0)
Note:
See TracTickets
for help on using tickets.
