mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API Deprecate unused / undesirable create_new_password implementation
This commit is contained in:
parent
27bca14f86
commit
f16d7e1838
@ -869,8 +869,10 @@ class Member extends DataObject implements TemplateGlobalProvider {
|
||||
* filesystem.
|
||||
*
|
||||
* @return string Returns a random password.
|
||||
* @deprecated 3.6.0..4.0.0
|
||||
*/
|
||||
public static function create_new_password() {
|
||||
Deprecation::notice('4.0', 'Please use Security/lostpassword to reset a password');
|
||||
$words = Config::inst()->get('Security', 'word_list');
|
||||
|
||||
if($words && file_exists($words)) {
|
||||
|
Loading…
Reference in New Issue
Block a user