Add a custom message for locked account for multiple failed login attempts on Service Portal Login Page

Viraj Sapte
Tera Expert

Hi
I want to display a lockout message when a user enters wrong password multiple times and fails to login.

For this, I modified "SNC User Lockout Check" from 'System Policy -> Script Actions'. But this message is not displayed on service portal login page.
find_real_file.png

find_real_file.png

find_real_file.png
SNC User Lockout Check script.

Please help. Thank you in advance.

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you need to modify login widget for this.

check this

Display custom message to user in Service Portal login page when account is locked out

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

But the scripts in Login widget are not editable.

Since it is OOB widget; you cannot edit

You need to clone; make script changes and then add that new widget to the portal page

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi,

I tried the script given in the link provided but it's not working.