Changeset - c0da0ef508da
stable
0
2
0
auth: only API keys with 40 alpha-numeric characters are valid
This makes it easy to disable API keys in the database without violating the
uniqueness constraint, using something like:
UPDATE users SET api_key='-'||api_key;
UPDATE user_api_keys SET api_key='-'||api_key;
This makes it easy to disable API keys in the database without violating the
uniqueness constraint, using something like:
UPDATE users SET api_key='-'||api_key;
UPDATE user_api_keys SET api_key='-'||api_key;
2 files changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)