diff options
Diffstat (limited to 'src/rgw/rgw_auth.h')
-rw-r--r-- | src/rgw/rgw_auth.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_auth.h b/src/rgw/rgw_auth.h index aa95ae15496..df5f529e64b 100644 --- a/src/rgw/rgw_auth.h +++ b/src/rgw/rgw_auth.h @@ -701,7 +701,7 @@ public: } void to_str(std::ostream& out) const override; void load_acct_info(const DoutPrefixProvider* dpp, RGWUserInfo& user_info) const override; /* out */ - uint32_t get_identity_type() const override { return TYPE_RGW; } + uint32_t get_identity_type() const override { return user_info.type; } std::string get_acct_name() const override { return {}; } std::string get_subuser() const override { return subuser; } const std::string& get_tenant() const override { |