Methods
(static) deep_merge(obj1, obj2) → {Object}
Recursively merges two objects. Will preserve sub-objects and override sub-keys. Object 1 is the base, and object 2 is applied over it as overrides.
        Parameters:
        
    
    
    
| Name | Type | Description | 
|---|---|---|
obj1 | 
            
            Object | |
obj2 | 
            
            Object | 
- Source:
 
Returns:
        
    
        
            
    
    - the merged object
 
- Type
 - Object
 
(static) guarantee_auth_session(req)
Guarantees that the req.session.auth object exists. If not, creates a default template. Inject the user if possible.
        Parameters:
        
    
    
    
| Name | Type | Description | 
|---|---|---|
req | 
            
            express/request | the incoming request  | 
        
- Source: