开发时使用安全社交假登录 [英] securesocial fake log in when developing

查看:147
本文介绍了开发时使用安全社交假登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用securesocial,它工作正常,但是现在每次更改一些Scala代码时,我都必须再次登录.在开发模式下,是否有可能在会话中伪造用户,所以我不必经常登录?

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?

谢谢

Joris Wijlens

Joris Wijlens

推荐答案

之所以会发生这种情况,是因为在DEV模式下,当您更改代码时,Play会重新启动应用程序.因此,示例用户服务中的数据将丢失.

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.

这篇关于开发时使用安全社交假登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆