Skip to content

Commit

Permalink
Update Assignment5.java
Browse files Browse the repository at this point in the history
reverted
  • Loading branch information
CMaheshBL committed May 8, 2024
1 parent 8ad1837 commit fa1b578
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ public AttackResult login(@RequestParam String username_login, @RequestParam Str
if (!StringUtils.hasText(username_login) || !StringUtils.hasText(password_login)) {
return failed(this).feedback("required4").build();
}

sanitizeVariable(username_login,password_login);


if (!"Larry".equals(username_login)) {
return failed(this).feedback("user.not.larry").feedbackArgs(username_login).build();
}
Expand All @@ -71,8 +69,5 @@ public AttackResult login(@RequestParam String username_login, @RequestParam Str
}
}

public void sanitizeVariable(String username_login, String password_login){

}
}

0 comments on commit fa1b578

Please sign in to comment.