diff --git a/security/custom_password_authenticator.rst b/security/custom_password_authenticator.rst index b2d88b81008..c9eee1eb724 100644 --- a/security/custom_password_authenticator.rst +++ b/security/custom_password_authenticator.rst @@ -61,6 +61,7 @@ the user:: // (so don't put any un-trusted messages / error strings here) throw new CustomUserMessageAuthenticationException( 'You can only log in between 2 and 4!', + array(), // Message Data 412 // HTTP 412 Precondition Failed ); }