Messages on failed login

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
idpSteve
Posts: 201
Joined: Thu Jul 27, 2017 6:13 am
Location: Johannesburg, South Africa
Contact:

Messages on failed login

Post by idpSteve »

Hi all.

I'm battling to find a way to display some login 'tips' when a user puts in some incorrect login details. I'd like to have a few messages, that get displayed after each failed attempt. I've made a login page with just one field, all users have the same password which is submitted by this form. Once a user inputs their login name incorrectly they should be displayed a tip saying 'Please check your typing and retry. Login names are case sensitive.'. If they input it incorrectly a second time they should be shown another tip saying 'Have you tried your initials and last 4 digits of your cell number' as this is suggested during registration.

I'm not sure how to go about this.

I'd appreciate any advice.

Regards,

Steve

Aware IM v7.1 build:2240 (until I've got a minute to update)
idpSteve
Posts: 201
Joined: Thu Jul 27, 2017 6:13 am
Location: Johannesburg, South Africa
Contact:

Re: Messages on failed login

Post by idpSteve »

If this is not possible, does anyone have any ideas for a work around?

Regards,

Steve
kklosson
Posts: 1646
Joined: Sun Nov 23, 2008 3:19 pm
Location: Virginia

Re: Messages on failed login

Post by kklosson »

On failed login, can you display a VP? I'm thinking not because the login failed but it may be worth pursuing. You could, for example, run a process that either logs into a special account by passing parameters, or take them to a URL.
V8.8
MySQL, AWS EC2, S3
PDFtk Toolkit
mrbdrm
Posts: 349
Joined: Tue Oct 16, 2012 11:44 am

Re: Messages on failed login

Post by mrbdrm »

create a page named ErrorPage
when the login fail aware will display that page instead of the error message.
idpSteve
Posts: 201
Joined: Thu Jul 27, 2017 6:13 am
Location: Johannesburg, South Africa
Contact:

Re: Messages on failed login

Post by idpSteve »

Thank you for the suggestions.

mrbdrm, do I need to do anything other than create that page? Do I need to change something in the login page I'm using to direct to this ErrorPage when login fails? I've created this page and tested briefly and it wasn't displayed. I tried to login with incorrect details from logonAdmin.html if that makes a difference.

Regards,

Steve
idpSteve
Posts: 201
Joined: Thu Jul 27, 2017 6:13 am
Location: Johannesburg, South Africa
Contact:

Re: Messages on failed login

Post by idpSteve »

Adding this worked - " &errorPage=loginerror.html". Thanks for all the help.

Regards,

Steve
mrbdrm
Posts: 349
Joined: Tue Oct 16, 2012 11:44 am

Re: Messages on failed login

Post by mrbdrm »

idpSteve wrote:Adding this worked - " &errorPage=loginerror.html". Thanks for all the help.

Regards,

Steve
Sorry i forgot that part :mrgreen:
Post Reply