Version: current

# Class EncryptAllPasswordsTask

Encrypt all passwords

Action to encrypt all clear text passwords in the database according to the current settings. If the current settings are so that passwords shouldn't be encrypted, an explanation will be printed out.

To run this action, the user needs to have administrator rights!

  Object
  BuildTask
  EncryptAllPasswordsTask

Package: sapphire\tasks
Located at sapphire/tasks/EncryptAllPasswordsTask.php

## Methods summary

`public` | # `init( )`
`public` | # `run( mixed $request )` Implement this method in the task subclass to execute via the TaskRunner Implement this method in the task subclass to execute via the TaskRunner
`protected` | # `debugMessage( mixed $msg )`

### Methods inherited from BuildTask

`getDescription()`, `getTitle()`, `isEnabled()`

### Methods inherited from Object

`__call()`, `__construct()`, `__toString()`, `__wakeup()`, `addMethodsFrom()`, `addStaticVars()`, `addWrapperMethod()`, `add_extension()`, `add_static_var()`, `allMethodNames()`, `cacheToFile()`, `cacheToFileWithArgs()`, `clearCache()`, `combined_static()`, `create()`, `createMethod()`, `create_from_string()`, `defineMethods()`, `exists()`, `extInstance()`, `extend()`, `getCustomClass()`, `getExtensionInstance()`, `getExtensionInstances()`, `get_extensions()`, `get_static()`, `hasExtension()`, `hasMethod()`, `has_extension()`, `invokeWithExtensions()`, `is_a()`, `loadCache()`, `parentClass()`, `parse_class_spec()`, `remove_extension()`, `sanitiseCachename()`, `saveCache()`, `set_stat()`, `set_static()`, `set_uninherited()`, `stat()`, `strong_create()`, `uninherited()`, `uninherited_static()`, `useCustomClass()`

### Magic methods summary

## Properties summary

`protected string` | $title | # $title Shown in the overview on the `TaskRunner` HTML or CLI interface. Should be short and concise, no HTML allowed. $title Shown in the overview on the `TaskRunner` HTML or CLI interface. Should be short and concise, no HTML allowed.
`protected string` | $description | # $description Describe the implications the task has, and the changes it makes. Accepts HTML formatting. $description Describe the implications the task has, and the changes it makes. Accepts HTML formatting.

### Properties inherited from BuildTask

`$enabled`

### Properties inherited from Object

`$class`, `$extension_instances`, `$extensions`

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -