Version: v0.6.0 - Beta.  We welcome contributors & feedback.  THanks!

Password.dangerDangerPlainText

dangerDangerPlainText()

Description

Return the original plain text.

SecurityThe plaintext version of a password should never be stored, whether in logs or a database. Instead, rely on THT's automatic hashing, or call hash() directly.

$tryPassword = Input.post('password');

$tryPassword.dangerDangerPlainText();
//= 'my-p@ssw0rd'

See Also