That’s a pretty weird claim.
https://en.wikipedia.org/wiki/Passport
The history section has an example of a passport in the Old Testament and a lot of other examples where people needed travel documents and were limited in their travels way before the First World War.