Search code examples
playframework-2.0securesocial

securesocial fake log in when developing


I am using securesocial it works fine but now every time I change some scala code I have to login again. Is there a possibility to fake a user in the session when in development mode, so I don't have to login so often?

Thanks,

Joris Wijlens


Solution

  • That happens because in DEV mode Play restarts the app when you change your code. So, the data in the sample user service is lost.