mirror of
https://github.com/anthonyraymond/joal.git
synced 2024-11-10 17:12:36 +08:00
Add a todo to re-enable WebSocket CSRF
This commit is contained in:
parent
640a33fd85
commit
f47f7d9e19
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ public class WebSocketAuthorizationSecurityConfig extends AbstractSecurityWebSoc
|
|||
messages.anyMessage().authenticated();
|
||||
}
|
||||
|
||||
// TODO : Add CSRF token support: https://docs.spring.io/spring-security/site/docs/current/reference/html/websocket.html#websocket-sameorigin-csrf
|
||||
@Override
|
||||
protected boolean sameOriginDisabled() {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue