mirror of
https://github.com/ceph/ceph
synced 2025-01-02 00:52:22 +00:00
rgw: return -EINVAL on unknow authorization
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
This commit is contained in:
parent
e533917dc9
commit
55477546e8
@ -2695,7 +2695,7 @@ int RGW_Auth_S3::authorize(RGWRados *store, struct req_state *s)
|
||||
|
||||
}
|
||||
|
||||
return -EPERM;
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
int RGW_Auth_S3::authorize_aws4_auth_complete(RGWRados *store, struct req_state *s)
|
||||
|
Loading…
Reference in New Issue
Block a user