src/store.js
// Needed for user delete and user login ID changes. Not to be confused with a user delete.
Needed for user delete and user login ID changes. Not to be confused with a user delete.
Needed for user delete and user login ID changes . Not to be confused with a user delete .
async userUnlink(name) {
    if (debug_level) log.info(`userUnlink: ${name}`);
    if (!name) {  
      log.error('Error (userUnlink): Invalid request.')
      return false;
    }
    let pn = path.join(this.data, 'logins', name);
    return await io.symUnlink(pn);
  }
async userUnlink ( name ) { if ( debug_level ) log . info ( ` ${ name } ` ) ; if ( ! name ) { log . error ( 'Error (userUnlink): Invalid request.' ) return false ; } let pn = path . join ( this . data , 'logins' , name ) ; return await io . symUnlink ( pn ) ; }
Needed for user delete and user login ID changes.
Needed for user delete and user login ID changes .
// check if user trying to go outside their own subfolder