jaliss / securesocial

A module that provides OAuth, OAuth2 and OpenID authentication for Play Framework applications
http://www.securesocial.ws
Apache License 2.0
1.19k stars 510 forks source link

Remove Controller trait from EventListener #618

Closed gmethvin closed 6 years ago

gmethvin commented 6 years ago

Controller now is deprecated in favor of BaseController and other traits that have injected dependencies. It seems strange for the EventListener interface extend Controller so I just removed the trait. The example was also using request2lang which would break if global state were disabled.

jaliss commented 6 years ago

thanks @gmethvin!