Customize message on logon page

Customize message on logon page

book

Article ID: CTX340091

calendar_today

Updated On:

Description

This article helps you to display a customized message below 'Log On' button

 


Instructions

Use following rewrite action and policy to achieve the requirement:

add rewrite action rw_act_custom_footer insert_after_all "HTTP.RES.BODY(50000).SET_TEXT_MODE(IGNORECASE)" "\"<div style=\'text-align:justify;text-align:center;color:white;font-size:12px;\'><br /> NOTE: If you receive the error Incorrect credentials. Try again, please try and logon again. <br />Please use the Microsoft Office 365 portal (<a href=https://portal.office.com> https://portal.office.com</a>) to update your password before logging in again. <br />If you are still having issues with logon, please contact Service Desk on 1234 567 89.</div>\"" -search q/text("customAuthBottom\">")/

add rewrite policy rw_pol_custom_notification "HTTP.REQ.URL.CONTAINS(\"/index.html\")" rw_act_custom_footer

bind vpn vserver <vpn_vserver_name> -policy rw_pol_custom_notification -priority 100 -gotoPriorityExpression END -type RESPONSE

Post which your logon page will look like following:

image.png

Note: This solution is applicable only if you are using rfwebUI theme on gateway
Not applicable for nfactor.