• 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
Name
Last commit
Last update
Documentation Loading commit data...
Godeps Loading commit data...
admin Loading commit data...
client Loading commit data...
cmd Loading commit data...
connector Loading commit data...
contrib Loading commit data...
db Loading commit data...
email Loading commit data...
examples Loading commit data...
functional Loading commit data...
integration Loading commit data...
pkg Loading commit data...
refresh Loading commit data...
repo Loading commit data...
schema Loading commit data...
server Loading commit data...
session Loading commit data...
static Loading commit data...
user Loading commit data...
.gitignore Loading commit data...
CONTRIBUTING.md Loading commit data...
DCO Loading commit data...
Dockerfile Loading commit data...
LICENSE Loading commit data...
MAINTAINERS Loading commit data...
NOTICE Loading commit data...
README.md Loading commit data...
build Loading commit data...
build-docker-push Loading commit data...
build-units Loading commit data...
cover Loading commit data...
go-docker Loading commit data...
test Loading commit data...
test-functional Loading commit data...