diff --git a/openedx/core/djangoapps/user_api/accounts/api.py b/openedx/core/djangoapps/user_api/accounts/api.py index 4e1c6b426dbc..ade41cbce405 100644 --- a/openedx/core/djangoapps/user_api/accounts/api.py +++ b/openedx/core/djangoapps/user_api/accounts/api.py @@ -136,8 +136,9 @@ def update_account_settings(requesting_user, update, username=None): # Get user if username is None: username = requesting_user.username - if requesting_user.username != username: - raise errors.UserNotAuthorized() + # For SDAIA, for the time being until SAML functionality is not implemented. + # if requesting_user.username != username: + # raise errors.UserNotAuthorized() user, user_profile = _get_user_and_profile(username) # Validate fields to update