mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-29 04:50:51 +02:00
[ticket/15693] Update tests to reflect changes to gen_rand_string()
PHPBB3-15693
This commit is contained in:
@@ -66,6 +66,8 @@ function set_var(&$result, $var, $type, $multibyte = false)
|
||||
/**
|
||||
* Generates an alphanumeric random string of given length
|
||||
*
|
||||
* @param int $num_chars Length of random string, defaults to 8
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function gen_rand_string($num_chars = 8)
|
||||
@@ -78,6 +80,8 @@ function gen_rand_string($num_chars = 8)
|
||||
* Generates a user-friendly alphanumeric random string of given length
|
||||
* We remove 0 and O so users cannot confuse those in passwords etc.
|
||||
*
|
||||
* @param int $num_chars Length of random string, defaults to 8
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function gen_rand_string_friendly($num_chars = 8)
|
||||
|
Reference in New Issue
Block a user