Hello,
You should be able to achieve this by modifying the default password service page (smpwservices.fcc) something like below:
Change :
//Auth Reason 7 - Account disabled
else if ($$smauthreason$$ == 7)
{
document.write("<TR>");
document.write("<TD NOWRAP WIDTH='100%' BGCOLOR='#FFEFD5' height='26'>");
document.write("<font face='Arial, Helvetica'><B>$$username$$</B> you cannot access your account at this time.<p>Please contact your Security Administrator or Help Desk.</font>");
document.write(" </TD>");
document.write("</TR>");
} //Auth Reason - 7
To :
//Auth Reason 7 - Account disabled
else if ($$smauthreason$$ == 7 )
{
// check if target is a specific application for which custom error message needs to be displayed
if ($$target$$.match(/myapp/.*)) {
//Display application specific error message
}
else {
//Display default error message
document.write("<TR>");
document.write("<TD NOWRAP WIDTH='100%' BGCOLOR='#FFEFD5' height='26'>");
document.write("<font face='Arial, Helvetica'><B>$$username$$</B> you cannot access your account at this time.<p>Please contact your Security Administrator or Help Desk.</font>");
document.write(" </TD>");
document.write("</TR>");
}
} //Auth Reason - 7
Cheers,
Ujwol