Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip logging in debug #581

Open
bvdmitri opened this issue Feb 24, 2016 · 1 comment
Open

Skip logging in debug #581

bvdmitri opened this issue Feb 24, 2016 · 1 comment

Comments

@bvdmitri
Copy link

Hello!

Is there any option to skip logging and use some default user in debug mode?
It is really annoying to login each time after a line of code :)

Thanks for your help!

@odroz
Copy link

odroz commented Mar 1, 2016

Hi,
You may want to persist your users in the database as Play clears its cache
at recompile. Especially the cookieAuth Token.
Here is a pretty good tutorial that might need a little bit of tweak
depending on your SecureSocial verison:
http://www.filtercode.com/play/play-scala-securesocial

For security reasons, I would advise to encrypt the token in the DB. If
your DB gets compromised, then all token would be visible to the attacker...

Good luck

Olivier Droz
Ing. Inf. Dipl. EPF
Rte de la Feuillère 29
1010 Lausanne
www.olivierdroz.ch

On Wed, Feb 24, 2016 at 5:30 PM, Bagaev Dmitri [email protected]
wrote:

Hello!

Is there any option to skip logging and use some default user in debug
mode?
It is really annoying to login each time after a line of code :)

Thanks for your help!


Reply to this email directly or view it on GitHub
#581.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants