MDL-20365 auth_db: post integration tweaks
* Fixes SQL indentation. * Amended the new auth_dbsaltedcrypt string.
This commit is contained in:
+2
-1
@@ -105,7 +105,8 @@ class auth_plugin_db extends auth_plugin_base {
|
||||
|
||||
$authdb = $this->db_init();
|
||||
|
||||
$rs = $authdb->Execute("SELECT {$this->config->fieldpass} FROM {$this->config->table}
|
||||
$rs = $authdb->Execute("SELECT {$this->config->fieldpass}
|
||||
FROM {$this->config->table}
|
||||
WHERE {$this->config->fielduser} = '".$this->ext_addslashes($extusername)."'");
|
||||
if (!$rs) {
|
||||
$authdb->Close();
|
||||
|
||||
@@ -49,7 +49,7 @@ $string['auth_dbpasstype'] = '<p>Specify the format that the password field is u
|
||||
$string['auth_dbpasstype_key'] = 'Password format';
|
||||
$string['auth_dbreviveduser'] = 'Revived user {$a->name} id {$a->id}';
|
||||
$string['auth_dbrevivedusererror'] = 'Error reviving user {$a}';
|
||||
$string['auth_dbsaltedcrypt'] = 'Salted crypt()';
|
||||
$string['auth_dbsaltedcrypt'] = 'Crypt one-way string hashing';
|
||||
$string['auth_dbsetupsql'] = 'SQL setup command';
|
||||
$string['auth_dbsetupsqlhelp'] = 'SQL command for special database setup, often used to setup communication encoding - example for MySQL and PostgreSQL: <em>SET NAMES \'utf8\'</em>';
|
||||
$string['auth_dbsuspenduser'] = 'Suspended user {$a->name} id {$a->id}';
|
||||
|
||||
Reference in New Issue
Block a user