diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-04-09 13:46:31 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-04-09 20:48:17 +0200 |
commit | 5940316125c1672b72eb08186e6c43f5a91e71ef (patch) | |
tree | 1faaaa87d116a64d60fdbcf513139bd05c3ea4e6 /application/controllers/user.php | |
parent | c0f1755842211996a7a21ffb8773b260bb2be281 (diff) |
random_id() -> random_alphanum(); allow single argument
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/user.php')
-rw-r--r-- | application/controllers/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/user.php b/application/controllers/user.php index 4fffbef9b..5795db158 100644 --- a/application/controllers/user.php +++ b/application/controllers/user.php @@ -77,7 +77,7 @@ class User extends CI_Controller { return; } - $key = random_id(12, 16); + $key = random_alphanum(12, 16); $this->db->query(" INSERT INTO invitations |