Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Is there anyway to know if login authentication failed


Go to End


707 Views

Avatar
bobchou

Community Member, 5 Posts

10 February 2015 at 2:24am

Edited: 10/02/2015 2:25am

Hi, seems it is little bit hard to custom a login form, so I just use simple html form with customized css layout, but I dont know how to know if the authentication failed, like password incorrect, then show a message to user, so is there a if function like <% if $authentication %> I can use for this purpose? thanks