luminus-framework / luminus-template

a template project for the Luminus framework
http://www.luminusweb.net/
MIT License
648 stars 147 forks source link

java.lang.NullPointerException at /login #84

Closed pavanmishra closed 10 years ago

pavanmishra commented 10 years ago

Created a fresh luminus project with profiles +postgres +cljs +http-kit +site

There is an error at login page, mentioned as the title of the issue.

yogthos commented 10 years ago

The login route is meant to be called as an AJAX service operation by the page. When adding the +cljs profile, you have to implement the client side handling for that yourself at the moment.

yogthos commented 10 years ago

I added a nil check in the auth handler to catch the error by default however