Skip to content

Commit

Permalink
Update CtfTransactionBL.cs
Browse files Browse the repository at this point in the history
Fix for CTF mode
  • Loading branch information
GregorSpagnolo authored Dec 14, 2020
1 parent ec24f47 commit 396d5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SecureBank/Ctf/Services/CtfTransactionBL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public override DataTableResp<TransactionResp> GetTransactions(string userName,
catch (Exception)
{
_httpContextAccessor.HttpContext.Response.Headers.Add(sqlInjectionChallange.FlagKey, sqlInjectionChallange.Flag);
return null;
throw;
}

List<TransactionResp> validTransactions = _transactionDAO.GetTransactionsCtfCheck(userName, search);
Expand Down

0 comments on commit 396d5f0

Please sign in to comment.