moodle-tool_mfa

(★ 34)

A Multi-Factor Authentication Moodle plugin with flexible support for TOTP, Email, IP and more

File Explorer

  • .gitattributes
  • .gitmodules
  • action.php
  • auth.php
  • factor_report.php
  • guide.php
  • index.php
  • lib.php
  • phpunit.xml
  • README.md
  • renderer.php
  • reset_factor.php
  • settings.php
  • styles.css
  • thirdpartylibs.xml
  • user_preferences.php
  • version.php

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

git am

View Details ▼

Apply patch files and create a commit. Useful when receiving commits via email.
See also: `git format-patch`.

git am {{path/to/file.patch}}

Apply and commit changes following a local patch file:

curl {{[-L|--location]}} {{https://example.com/file.patch}} | git am

Apply and commit changes following a remote patch file:

git am --abort

Abort the process of applying a patch file:

🔍

git cherry-pick

View Details ▼

Apply the changes introduced by existing commits to the current branch.
To apply changes to another branch, first use `git checkout` to switch to the desired branch.

git cherry-pick {{commit}}

Apply a commit to the current branch:

git cherry-pick {{start_commit}}~..{{end_commit}}

Apply a range of commits to the current branch (see also: `git rebase --onto`):

git cherry-pick {{commit1 commit2 ...}}

Apply multiple (non-sequential) commits to the current branch:

🔍

git format-patch

View Details ▼

Prepare `.patch` files. Useful when emailing commits elsewhere.
See also: `git am`.

git format-patch {{origin}}

Create an auto-named `.patch` file for all the unpushed commits:

git format-patch {{revision_1}}..{{revision_2}}

Write a `.patch` file for all the commits between 2 revisions to `stdout`:

git format-patch -{{n}}

Write a `.patch` file for the `n` latest commits:

🔍

git submodule

View Details ▼

Inspect, update, and manage submodules.

git submodule

View existing submodules and the checked-out commit for each one:

git submodule update --init --recursive

Install a repository's submodules (listed in `.gitmodules`):

git submodule add {{repository_url}}

Add a Git repository as a submodule of the current one:

🔍

php

View Details ▼

PHP command-line interface.

php {{path/to/file}}

Parse and execute a PHP script:

php {{[-l|--syntax-check]}} {{path/to/file}}

Check syntax on (i.e. [l]int) a PHP script:

php {{[-a|--interactive]}}

Run PHP inter[a]ctively:

// repository documentation