Skip to content

Commit

Permalink
ticket: Support lookups by number and email
Browse files Browse the repository at this point in the history
  • Loading branch information
protich committed Oct 24, 2016
1 parent b15ed51 commit 49b7b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion login.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
Http::redirect('tickets.php');

// This will succeed as it is checked in the authentication backend
$ticket = Ticket::lookupByNumber($_POST['lticket']);
$ticket = Ticket::lookupByNumber($_POST['lticket'], $_POST['lemail']);

// We're using authentication backend so we can guard aganist brute
// force attempts (which doesn't buy much since the link is emailed)
Expand Down

0 comments on commit 49b7b4e

Please sign in to comment.