must be sleepy...holliday effect?

pull/217/head
Christophe Vandeplas 2013-07-11 14:30:56 +02:00
parent ff2f08f60d
commit b8dcc4d00a
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ class User extends AppModel {
return $key;
}
private function generateRandomPassword() {
public function generateRandomPassword() {
$length = 12;
$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-+=!@#$%&*()<>/?';
$charLen = strlen($characters) - 1;