britton-jb / sentinel

DEPRECATED - Phoenix Authentication library that wraps Guardian for extra functionality
MIT License
106 stars 19 forks source link

Adding a debug log for the confirmation token #19

Closed Draiken closed 8 years ago

Draiken commented 8 years ago

In development if you need the confirmation token, you can only reach it through the email, which more often than not is stored in memory.

This adds a simple way to use the code and since it's only on debug log level it should never affect anything on production environments. Even if the production log level is set to debug, the information is not as sensitive as a password

britton-jb commented 8 years ago

This is good for now, we can revisit it in the future if it's an issue.