Valentin Popov 181e3a2ae9
Standard use of variables
Signed-off-by: Valentin Popov <info@valentineus.link>
2018-06-10 16:11:25 +04:00
2017-10-17 09:27:45 +04:00
2018-06-10 16:11:25 +04:00
2018-06-10 15:26:22 +04:00
2017-10-17 09:27:45 +04:00
2017-10-17 15:07:07 +04:00
2018-06-10 15:27:32 +04:00

Authorization by direct link

GitHub Release Build Status Codacy Badge Gitter Badge

Authorization plugin for Moodle. Adds the ability to authorize a user by a direct link.

Installation

Get the installation package in any of the available methods:

In Moodle in the administration panel go to the "Plugins" section and make a standard installation of the plug-in.

Using

Pass the variables username and password in any standard way. Variables are read from a file $ _REQUEST, which guarantees GET and POST requests performance, as well as support for the cookie.

Example of a link that authorizes a user on the course:

https://yourwebserver.org/course/view.php?id=2&username=guest&password=qwerty

Build

Self-assembly package is as follows:

  • Clone the repository:
git clone https://github.com/valentineus/auth-link.git auth-link
  • Run the build script:
cd ./auth-link
/bin/sh build.sh

License

GNU Banner

GNU GPLv3. Copyright (c) Valentin Popov.

Description
Plugin for Moodle. Allows you to authorize a user by a direct link without additional action.
Readme 63 KiB
Languages
PHP 93.4%
Shell 6.6%