db: guard UsePreAuthKey with WHERE used=false
Add a row-level check so concurrent registrations with the same single-use key cannot both succeed. Skip the call on re-registration where the key is already marked used (#2830).
K
Kristoffer Dalby committed
0641771128601588d270b5d45cc52a67a012b5df
Parent: f7d8bb8