Skip to content

Commit

Permalink
Disable twilio header checking (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
levimdmiller authored Feb 20, 2021
1 parent b79d655 commit f1b6817
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</parent>
<groupId>ca.levimiller</groupId>
<artifactId>sms-bridge</artifactId>
<version>0.2.3</version>
<version>0.2.4</version>
<name>sms-bridge</name>
<description>Sms Bridge for Matrix</description>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ FilterRegistrationBean<Filter> twilioFilterRegistration() {
registrationBean.setFilter(twilioAuthenticationFilter);
registrationBean.addUrlPatterns("/twilio/*");
registrationBean.setOrder(Ordered.HIGHEST_PRECEDENCE); //set precedence
registrationBean.setEnabled(false);
return registrationBean;
}
}

0 comments on commit f1b6817

Please sign in to comment.