Skip to content

Commit f2bfbd7

Browse files
committed
Two small items. 1) Updated rest.php's $config['rest_key_length'] to 40 by default as the sql statement key field is set to 40. 2) Mislabeled key creation method index_put in key.php
1 parent c2a26a1 commit f2bfbd7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

application/config/rest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
| Max: 40
107107
|
108108
*/
109-
$config['rest_key_length'] = 32;
109+
$config['rest_key_length'] = 40;
110110

111111
/*
112112
|--------------------------------------------------------------------------

application/controllers/api/key.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class Key extends REST_Controller
2525
);
2626

2727
/**
28-
* Key Delete
28+
* Key Create
2929
*
30-
* Remove a key from the database to stop it working.
30+
* Insert a key into the database.
3131
*
3232
* @access public
3333
* @return void

0 commit comments

Comments
 (0)