Your Locked Phone Can Show Some Sign-In Codes
A notification preview can reveal a temporary code without unlocking the phone.

secdoc.tech · Basic Series: Security and privacy at home and around townYour locked phone can show some of the codes that guard your accounts. A temporary login number in a notification or message preview may be visible without unlocking the phone.
Those short numbers are often the second check after a password. Someone who picks up a lost phone could read a code on the screen and try to use it before the owner returns.
A lock screen preview can show the start of a message and its code. Phones offer settings that hide the contents while still showing the alert, including safety alerts people want to keep.
Questions people ask
What is a temporary login number?
It is a short temporary number that a service sends to confirm an account holder. It is often requested after a password, as a second check that the person signing in has access to the phone or email on file.
Why would a code be visible when the phone is locked?
Many phones show notification previews on the lock screen by default, including the start of a text message. That convenience means a code, a sender name, and parts of other messages can be readable to anyone holding the device.



