Allow customization of some error codes in templates
Summary
When doing a heavily customized deployment, an admin might want to display an error message that is much more complex than this:
In this instance, maybe they want to display a big HTML block with a detailed step-by-step guide on how to register an RP/SP
Design proposition
We currently send AUTH_ERROR => 108
to the template engine, but this doesn't allow us to do a TMPL_IF
to handle a particular error code
I propose setting AUTH_ERROR_108 => 1 so that we can write:
<TMPL_IF AUTH_ERROR_108>
<!-- custom HTML here -->
</TMPL_IF>
See #2885 (closed) for an even more advanced possibility