lockout_remaining()

Return whole seconds left on username’s lockout, or 0 if it isn’t locked.

Usage

lockout_remaining(username)