From 8c3fc16b3d9ef866c6b9cee558b30d78b357c8cc Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Mon, 27 Nov 2023 18:12:22 -0500 Subject: rgw/rados: implement account metadata operations Signed-off-by: Casey Bodley --- src/rgw/driver/rados/rgw_user.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rgw/driver/rados/rgw_user.h') diff --git a/src/rgw/driver/rados/rgw_user.h b/src/rgw/driver/rados/rgw_user.h index c4585413a3b..373b672e6eb 100644 --- a/src/rgw/driver/rados/rgw_user.h +++ b/src/rgw/driver/rados/rgw_user.h @@ -225,10 +225,10 @@ struct RGWUserAdminOpState { overwrite_new_user = b; } - void set_user_email(std::string& email) { + void set_user_email(const std::string& email) { /* always lowercase email address */ - boost::algorithm::to_lower(email); user_email = email; + boost::algorithm::to_lower(user_email); user_email_specified = true; } -- cgit v1.2.3