View Single Post
 
Old Mar 04, 2002, 04:10 PM
DocJohn's Avatar
DocJohn DocJohn is online now
Founder & Your Host
Community Support Team
Chat Leader
 
Member Since: May 2001
Location: Greater Boston, MA
Posts: 13,794

Good point.

As envisioned, OJ was built to be a one-author journaling system. Multi-users were added after-the-fact, and therefore, the concept of different authentication levels never really entered my mind.

The easiest way to disable this functionality is to remove it from the control panel as an option altogether. Look for "Add New User" in the program and remove the link that goes to that option. Bookmark the link in your own browser before deleting it, as this is the link that will give you future access to add new users.

Then, find the "print_new_auth" subroutine in the file and add the following line at the beginning of the routine:

if ($userid ne "your_user_id_here") { &error("Sorry, you are not authorized to add new users"); }

Just substitute your actual user id in the above line inbetween the quotes and you should be all set.

John

__________________
Don't throw away your shot.