Skip to content

Commit

Permalink
npe fix in AuthenticationChannelImpl
Browse files Browse the repository at this point in the history
added missing csrfField on the PageEmailNonce.html
  • Loading branch information
KaterynaHonchar committed Aug 4, 2023
1 parent 4ff6ea3 commit 88d81f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<body>
<wicket:extend>
<form class="form-horizontal" action="ignore" wicket:id="form">
<div wicket:id="csrfField"/>

<a class="btn btn-primary flex-wrap gap-2 justify-content-center login-panel-control" wicket:id="sendNonce">
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public boolean isDefault() {
public Collection<Authorization> resolveAuthorities(Collection<Authorization> authorities) {
var cleanedUpAuthorities = cleanupAuthorities(authorities);
var newAuthorities = new ArrayList<>(cleanedUpAuthorities);
addAdditionalAuthorities(authorities);
addAdditionalAuthorities(newAuthorities);
return Collections.unmodifiableList(newAuthorities);
}

Expand Down

0 comments on commit 88d81f8

Please sign in to comment.