-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
login route #66
Comments
For layout, there is a configurable similar to To pass locals to a template, you can configure Redirect if the user is already logged in should occur automatically. |
Redirect if already logged in when visiting the Can you try duplicating this error on your end? |
Are everyauth or mongoose internally tied to jade? Was thinking of swapping out jade for another engine in express - maybe node-jqtpl. Paging through the everyauth/mongoose libraries there seem to be several dependencies on jade - in package.json and in several routes that refer to 'new.jade' and other wiring in the login/reg workflow. Know docs say, in theory, that this can be used with other template engines, but does it actually work without jade there or registered in express (you can only pick one, correct?). Sorry if this is a noob question. |
I'm sure you can use |
when using password authentication, one must define getLoginPath, and loginView.
if my understanding is correct this define the login route and eventually override any route already defined for the same path
how can I define more options for the rendering, like specifying custom layout, pass some data to the template, rendering different format, or redirect if user is already logged in without breaking everyauth plugin ?
The text was updated successfully, but these errors were encountered: