4 ms·
Biologist here; so would the proper approach be UPDATE users SET password=[generateRandomString] WHERE hashing_scheme='old'; ?
by jonlucc 10y ago
Biologist here; so would the proper approach be
UPDATE users SET password=[generateRandomString] WHERE hashing_scheme='old';
?
- anujanpan 10y agoNo, same query but you need to make sure your authentication system disallows logging into accounts with null / empty passwords.