Fix race condition in registration approve/save
Closes #841 (closed)
Previous behaviour
Steps to reproduce:
- Create new registration
- Try to approve + save within couple of seconds
- Empty payment
New behaviour
Steps to validate that it works:
- Create new registration
- Try to approve + save within couple of seconds
- Cannot save + existing payment
Edited by Sébastiaan Versteeg