-
Notifications
You must be signed in to change notification settings - Fork 2
PublicController.js
The PublicController is responsible for control during a guest (user not logged in) session.
- onLogin: REST request to login
- onForgotPassword: REST request when user forgot password (password reset). There is logic to know if the password is temporary. No enforcement at this time to force the user to change it. May add this as a configurable feature.
- onResendEmail: REST request to resend validation email.
- onUserSignup: REST request to create a new user
- onCheckDB: REST "is alive" ping
#../
\enyo-mvc-web-app
|
+---index html
+---mvcApp html
+---mvcAppDebug html
+---package json
+---node-server js
+---mvcApp html
+---assets
+---enyo
+---lib
+---node_modules
+---public
+---scripts
|
\---source
|
+---apps
+---controllers
| |
| +---auth
| \---public
|
+---css
+---ext
+---models
| |
| +---ajax
| \---socket
|
\---views
|
+---auth
| |
| \---body
|
\---public
|
\---body
Add a Contact Page for Authorized users
Why is the project structured this way?
Why are some things implemented this way?