backend/controllers/api/AuthController.js
/**
     * Handles the login request, returning the JWT if successful
     *
     * @param request
     * @param reply
     */
Handles the login request, returning the JWT if successful
@param request
@param reply
Handles the login request returning the JWT if successful @param request @param reply
login(request, reply) {
        SessionManager.login(request.payload.email, request.payload.password).then(
            (token) => {
                reply({ token:token });
            },
            () => {
                reply(Boom.unauthorized());
            }
        );
    }
login ( request , reply ) { SessionManager . login ( request . payload . email , request . payload . password ) . then ( ( token ) => { reply ( { token : token } ) ; } , ( ) => { reply ( Boom . unauthorized ( ) ) ; } ) ; }
Handles the login request, returning the JWT if successful
 @param request
 @param reply
Handles the login request returning the JWT if successful @param request @param reply