• Yifan Gu's avatar
    refresh: bcrypt raw bytes rather than base64 encoded string. · 44c6cb44
    Yifan Gu authored
    This enables us to control the length of the bytes that will be bcrypted,
    by default it's 64.
    
    Also changed the token's stored form from string('text') to []byte('bytea')
    and added some test cases for different types of invalid tokens.
    44c6cb44
0005_refresh_token_create.sql 506 Bytes