perf: 优化签名认证

pull/8410/head
ibuler 2 years ago committed by Jiangjie.Bai
parent 75c011f1c5
commit 10adb4e6b7

@ -198,6 +198,6 @@ class SignatureAuthentication(signature.SignatureAuthentication):
return None, None
user, secret = key.user, str(key.secret)
return user, secret
except AccessKey.DoesNotExist:
except (AccessKey.DoesNotExist, exceptions.ValidationError):
return None, None

Loading…
Cancel
Save