diff --git a/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-ui/src/main/resources/XWiki/ResetPasswordComplete.xml b/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-ui/src/main/resources/XWiki/ResetPasswordComplete.xml
index 4747b0f07922..2e478ec1ba3e 100644
--- a/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-ui/src/main/resources/XWiki/ResetPasswordComplete.xml
+++ b/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-ui/src/main/resources/XWiki/ResetPasswordComplete.xml
@@ -38,7 +38,7 @@
true{{velocity}}
#set ($newUrl = $services.security.authentication.getAuthenticationURL('reset', $request.parameterMap))
-#set ($discard = $services.logging.deprecated("The page [XWiki.ResetPasswordComplete] should not be used anymore in favor of the new 'authenticate/reset' URL."));
+#set ($discard = $services.logging.deprecate("The page [XWiki.ResetPasswordComplete] should not be used anymore in favor of the new 'authenticate/reset' URL."));
#set ($discard = $response.sendRedirect($newUrl))
{{/velocity}}