Answer the question
In order to leave comments, you need to log in
Working with a log file?
tell me how to display a message on the screen if the password is entered incorrectly for the third time.
Those. in the log file, a line with the text of an error like (password check failed for user) after appearing in the log file for the third time, the output of the text for the user worked.
Answer the question
In order to leave comments, you need to log in
It's probably trivial to start a counter, and count it up to three, then display an error.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question