Add redirection to clear the owner cache after profile update

This commit is contained in:
Hypolite Petovan 2021-10-21 19:11:28 -04:00
parent b6faa0878a
commit cb86048b8a

View File

@ -132,6 +132,8 @@ class Index extends BaseSettings
notice(DI::l10n()->t('Profile couldn\'t be updated.')); notice(DI::l10n()->t('Profile couldn\'t be updated.'));
return; return;
} }
DI::baseUrl()->redirect('settings/profile');
} }
public static function content(array $parameters = []) public static function content(array $parameters = [])