Customers of the UK payday loan firm Wonga were warned that their personal details might have been stolen.