← All tasks
What you'll do
Write the PHP expression that logs a login attempt using only the username, explicitly excluding the password field.
Scenario
A previous log statement accidentally included the raw password field in plaintext log files.
Ready to try it?
Create a free account and subscribe to take "Write Safe Logging That Excludes Sensitive Data". Earn 90 XP and track your internship progress.
Already have an account? Sign in