forked from GNUsocial/gnu-social
[MODULES] Fix VERSION constant to MODULE_VERSION in various modules
This commit is contained in:
@@ -32,7 +32,7 @@ if (!defined('GNUSOCIAL')) { exit(1); }
|
||||
|
||||
class AuthCryptModule extends AuthenticationModule
|
||||
{
|
||||
const PLUGIN_VERSION = '2.0.0';
|
||||
const MODULE_VERSION = '2.0.0';
|
||||
protected $hash = '$6$'; // defaults to SHA512, i.e. '$6$', in onInitializeModule()
|
||||
protected $statusnet = true; // if true, also check StatusNet style password hash
|
||||
protected $overwrite = true; // if true, password change means overwrite with crypt()
|
||||
@@ -177,7 +177,7 @@ class AuthCryptModule extends AuthenticationModule
|
||||
public function onModuleVersion(array &$versions): bool
|
||||
{
|
||||
$versions[] = array('name' => 'AuthCrypt',
|
||||
'version' => self::PLUGIN_VERSION,
|
||||
'version' => self::MODULE_VERSION,
|
||||
'author' => 'Mikael Nordfeldth',
|
||||
'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/AuthCrypt',
|
||||
'rawdescription' =>
|
||||
|
Reference in New Issue
Block a user