juxtalearn / clipit

ClipIt Repository
GNU Affero General Public License v3.0
5 stars 4 forks source link

JuxtaLearn Cookie Authentication: fix/ tweak where/ how configuration parameters are set and used #3

Closed nfreear closed 10 years ago

nfreear commented 10 years ago

Specifically,

  1. Move $CONFIG->JXL_SECRET from /mod/clipit_api/start.php to /engine/settings.CLIPIT-example.php (settings.php);
  2. Add $CONFIG->JXL_COOKIE_DOMAIN;
  3. Add a try { ... } catch (Exception $ex) { ... } handler - for exceptions raised for missing/badly formed secret keys;

Pablo - I'm going to commit a patch for this. I hope that's OK...

nfreear commented 10 years ago

The current implementation using the database works just fine. Closing!