Simplify random_string() calls

This commit is contained in:
Hypolite Petovan 2017-11-25 21:31:10 -05:00
parent dc15e9a080
commit 7f900007c7
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ function ifttt_settings(App $a, &$s)
$key = PConfig::get(local_user(), 'ifttt', 'key');
if (!$key) {
$key = substr(random_string(),0,20);
$key = random_string(20);
PConfig::set(local_user(), 'ifttt', 'key', $key);
}