Worlflow 1- Register 1.1 Create a new temporal user 1.2 Email to the new User 1.3 Email to Web Master 2 Web Master Review th Account Application 2.1 Accept and Send an confirmation email to the user and remove the temporal user 2.2 Reject the application send a rejection email to the user and remove the temporal Added a new table to save temporal users to review their Application to the site. Updated Register Form with an new input Application and Recaptcha validation. Updated Emails templates and messages. (TODO improve messages) Updated mails templates. Simple messages (Todo improve messages). Added a new handler to reject a user Updated existing hanlders to handler the new workflow.
14 lines
332 B
SQL
14 lines
332 B
SQL
|
|
DROP TABLE IF EXISTS "auth_temp_user";
|
|
CREATE TABLE `auth_temp_user` (
|
|
`uid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
|
`name` VARCHAR(100) NOT NULL,
|
|
`password` VARCHAR(100) NOT NULL,
|
|
`salt` VARCHAR(100) NOT NULL,
|
|
`email` VARCHAR(250) NOT NULL,
|
|
`application` TEXT NOT NULL,
|
|
CONSTRAINT `name`
|
|
UNIQUE(`name`)
|
|
);
|
|
|