Skip to content

Commit

Permalink
Merge pull request #64 from caos/jwt-userinfo
Browse files Browse the repository at this point in the history
fix: UserInfo with JWT access token
  • Loading branch information
hifabienne authored Oct 16, 2020
2 parents c1699a2 + 9b480be commit 4390119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func EncryptBytesAES(plainText []byte, key string) ([]byte, error) {
func DecryptAES(data string, key string) (string, error) {
text, err := base64.URLEncoding.DecodeString(data)
if err != nil {
return "", nil
return "", err
}
decrypted, err := DecryptBytesAES(text, key)
if err != nil {
Expand Down

0 comments on commit 4390119

Please sign in to comment.