|
|
|
|
|
by Gigablah
4884 days ago
|
|
You're right, I was testing with tokens that started with numbers, so 0 didn't match anything. SELECT * FROM users where reset_token = 0;
will match the token "abc"; SELECT * FROM users where reset_token = 1;
will match the token "1abc"; SELECT * FROM users where reset_token = 123;
will match the token "123aasfas". |
|