Small fixes
This commit is contained in:
		
							
								
								
									
										2
									
								
								auth.php
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								auth.php
									
									
									
									
									
								
							@@ -36,7 +36,7 @@ class auth_plugin_token extends auth_plugin_base {
 | 
				
			|||||||
     */
 | 
					     */
 | 
				
			||||||
    public function __construct() {
 | 
					    public function __construct() {
 | 
				
			||||||
        $this->authtype = "token";
 | 
					        $this->authtype = "token";
 | 
				
			||||||
        $this->config = get_config("auth_token");
 | 
					        $this->config   = get_config("auth_token");
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,11 +15,11 @@
 | 
				
			|||||||
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
 | 
					// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Strings for component "auth_token", language "en".
 | 
					 * Strings for component 'auth_token', language 'en'.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * @package   auth_token
 | 
					 * @package   auth_token
 | 
				
			||||||
 * @copyright 2017 "Valentin Popov" <info@valentineus.link>
 | 
					 * @copyright 2017 "Valentin Popov" <info@valentineus.link>
 | 
				
			||||||
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 | 
					 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$string["pluginname"] = "Authorization by tokens";
 | 
					$string["pluginname"] = "Authorization by token";
 | 
				
			||||||
		Reference in New Issue
	
	Block a user