src/Flowcode/UserBundle/Service/UserService.php
public function generateRandomPassword()
    {
        $alphabet = "abcdefghijklmnopqrstuwxyzABCDEFGHIJKLMNOPQRSTUWXYZ0123456789";
        $pass = array();
        $alphaLength = strlen($alphabet) - 1;
        for ($i = 0; $i < 8; $i++) {
            $n = rand(0, $alphaLength);
            $pass[] = $alphabet[$n];
        }
        return implode($pass);
    }
public function generateRandomPassword()
    {
        $alphabet = "abcdefghijklmnopqrstuwxyzABCDEFGHIJKLMNOPQRSTUWXYZ0123456789";
        $pass = array();
        $alphaLength = strlen($alphabet) - 1;
        for ($i = 0; $i < 8; $i++) {
            $n = rand(0, $alphaLength);
            $pass[] = $alphabet[$n];
        }
        return implode($pass);
    }
public function generateRandomPassword ( ) { $ alphabet = "abcdefghijklmnopqrstuwxyzABCDEFGHIJKLMNOPQRSTUWXYZ0123456789" ; $ pass = array ( ) ; $ alphaLength = strlen ( $ alphabet ) - 1 ; for ( $ i = 0 ; $ i < 8 ; $ i ++ ) { $ n = rand ( 0 , $ alphaLength ) ; $ pass [ ] = $ alphabet [ $ n ] ; } return implode ( $ pass ) ; }
Geneate Radmon password.
Geneate Radmon password .