Seems that iOS 11 expanded two-factor authentication, but please correct me if i'm wrong. When you log in to iCloud.com, you are presented with a 6-digit code entry and the notification on the iDevice is much more informative.