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)

Change History (1)

comment:1 by Torsten Riemer, 8 years ago

Milestone: modified-shop-2.0.4.0

Modify Ticket

Action
as new The owner will remain somebody.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.