- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2022 10:48 PM
I want to modify the message which occurs when we entere wrong user name or password.
I have updated message in 'login_invalid' under System UI>Messages.
When I'm checking it on instance, I can see updated message reflecting when I'm entering wrong password.
But on portal I'm still getting old message and not able to see updated message.
I'm performing this task on my PDI and I'm not using any custom widget, still its not showing updated message.
If its not coming from 'login_invalid' on portal then where should I update so that I can get modified message on portal?
Please help me to resolve this issue.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2022 12:04 AM
HI@Yash40
The message used by portal's key is "user name or password invalid" . Not "login_invalid".
Of course the message doesn't exists. you need to add a new message with key "user name or password invalid" .
I had a try and successed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2022 02:28 AM
The message is shown via below code in Login widget.
<div ng-if="c.message" class="alert alert-danger login-alert" role="alert">{{c.message}}</div>
If you want to change the color , just modify the css class.
However, Login widget is readonly and you can't modify it directly.
You need to clone the whole login page and the login widget, then you can modify the login widget cloned to change the color.
And finally don't forget to use the new page as Login page in your portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2022 12:26 AM
Hi @newhand ,
Thanks for your help.
I have cloned Login widget and Login page also updated CSS to change the color and added cloned widget to portal.
Cloned widget is added to Page.
Login1 widget's CSS is updated to add text color.
When I' checking on CSM portal, Text color is not changing ,Its still red.
But when I'm clicking on Knowledge(Upper Right Side), Its also giving me Login Page and when I'm checking entering wrong user name or password there its showing text color as blue( As given in CSS), Please see below screenshot.
In URL, I see its 'kb_home' page (After clicking on Knowledge) but why its not working when its /csm in url.
What could be the issue here? Could you please suggest?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2022 07:29 PM
From the pic... it looks like a popup .
I think the popup is not the one you setted to the portal page , it's another widget.
Try to find it ~