Saved credentials appear automatically on iOS.
e.preventDefault() → iOS never saw the POSTonclick="return validateLogin()" returns true for native POSTautocomplete="username" + "current-password"type="password" never changes (eye uses CSS trick)
iOS will offer to save — and even generate — your new password.
autocomplete="new-password" on both fieldsautocomplete="username" field links accountonclick returns true → native POST → iCloud Keychain saves ✅