Added a new "auth" field to the user table. This field contains the

authentication mechanism used to create that user record.

Also added code to upgrade existing systems to have entries in that
field, and for new users to also have that field defined.

This will allow us to later improve the login procedure to be able to
handle various types of authentication.
This commit is contained in:
moodler
2004-08-15 07:27:52 +00:00
parent 83c87a05d9
commit 4e11ad4faa
8 changed files with 35 additions and 2 deletions
+1
View File
@@ -197,6 +197,7 @@ CREATE INDEX prefix_cache_text_md5key_idx ON prefix_cache_text (md5key);
CREATE TABLE prefix_user (
id SERIAL PRIMARY KEY,
auth varchar(20) NOT NULL default 'manual',
confirmed integer NOT NULL default '0',
deleted integer NOT NULL default '0',
username varchar(100) NOT NULL default '',