Skip to content

Commit

Permalink
[BISERVER-15135] - Username with prefix or suffix blank spaces on Log…
Browse files Browse the repository at this point in the history
…in page triggers UsernameNotFound Exception, but session is created (#5819)
  • Loading branch information
joana-fb authored Dec 20, 2024
1 parent 9ac8611 commit 830196a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assemblies/pentaho-war/src/main/webapp/jsp/PUCLogin.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,9 @@
var userState = '';
<% } %>
let trimmedValue = $("#login #j_username").val().trim();
$("#login #j_username").val(trimmedValue);
jQuery.ajax({
type: "POST",
url: "j_spring_security_check",
Expand Down

0 comments on commit 830196a

Please sign in to comment.