Closed sdenef closed 13 years ago
Yes it's an error.
When the user authentification failed, I call the fail fonction that do a simple "render()". In fact, I have to change this by "forbidden()", that produce a 403.
After, you have to create a 403 error page in your application if you want.
Sincerely.
It's done on github ! I put a new release on playframework site today.
Sincerely
Hi,
I found this on my app logs :
Internal Server Error (500) Template not found (In {module:cas-2.0-adeo}/app/controllers/modules/cas/SecureCAS.java around line 78) The template modules/cas/SecureCAS/fail.html does not exist.
play.exceptions.TemplateNotFoundException: Template not found : modules/cas/SecureCAS/fail.html at play.mvc.Controller.renderTemplate(Controller.java:595) at play.mvc.Controller.renderTemplate(Controller.java:568) at play.mvc.Controller.render(Controller.java:623)
at controllers.modules.cas.SecureCAS.fail(SecureCAS.java:78)
I don't know how this occured. Do I create a fail.html template ? Or is it missing in the module ?
Thanks