mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-08 17:18:59 +02:00
API CHANGE Removed deprecated Security::get_encryption_algorithms() - please use PasswordEncryptor::get_encryptors() instead
This commit is contained in:
parent
6e58026c27
commit
aca2b2f3b5
@ -725,20 +725,6 @@ class Security extends Controller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get a list of all available encryption algorithms.
|
|
||||||
* Note: These are arbitrary codes, and not callable methods.
|
|
||||||
*
|
|
||||||
* @deprecated 2.4 Use PasswordEncryptor::get_encryptors()
|
|
||||||
*
|
|
||||||
* @return array Returns an array of strings containing all supported encryption algorithms.
|
|
||||||
*/
|
|
||||||
public static function get_encryption_algorithms() {
|
|
||||||
Deprecation::notice('2.4', 'Use PasswordEncryptor::get_encryptors() instead.');
|
|
||||||
return array_keys(PasswordEncryptor::get_encryptors());
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the password encryption algorithm
|
* Set the password encryption algorithm
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user