• Tyler Cloke's avatar
    Add VerifyPassword to API · dd84e73c
    Tyler Cloke authored
    It takes in an email and plain text password to verify. If it fails to find a password stored for email, it returns not_found. If it finds the password hash stored but that hash doesn't match the password passed via the API, it returns verified = false, else it returns verified = true.
    Co-authored-by: 's avatarAlban Seurat <alban.seurat@me.com>
    dd84e73c
Name
Last commit
Last update
..
internal Loading commit data...
api.go Loading commit data...
api_test.go Loading commit data...
doc.go Loading commit data...
handlers.go Loading commit data...
handlers_test.go Loading commit data...
oauth2.go Loading commit data...
oauth2_test.go Loading commit data...
rotation.go Loading commit data...
rotation_test.go Loading commit data...
server.go Loading commit data...
server_test.go Loading commit data...
templates.go Loading commit data...
templates_test.go Loading commit data...