* instdbws.sql: Creates a new table to store
one time usage passwords * NpgsqlMembershipProvider.cs: should fix a bug at resetting the password * AccountController.cs: Allows the questions and answer to be specified for password recovery, at registration time * RegisterClientModel.cs: Implements the Question and answer in the registration model
This commit is contained in:
parent
53930befd3
commit
4ba20187e8
7 changed files with 49 additions and 8 deletions
|
|
@ -690,3 +690,24 @@ WITH (
|
|||
);
|
||||
|
||||
|
||||
-- Table: passwrecovery
|
||||
|
||||
-- DROP TABLE passwrecovery;
|
||||
|
||||
CREATE TABLE passwrecovery
|
||||
(
|
||||
pkid character varying NOT NULL,
|
||||
one_time_pass character varying(512) NOT NULL,
|
||||
creation timestamp with time zone NOT NULL,
|
||||
CONSTRAINT passwrecovery_pkey PRIMARY KEY (pkid),
|
||||
CONSTRAINT passwrecovery_pkid_fkey FOREIGN KEY (pkid)
|
||||
REFERENCES users (pkid) MATCH SIMPLE
|
||||
ON UPDATE CASCADE ON DELETE CASCADE
|
||||
)
|
||||
WITH (
|
||||
OIDS=FALSE
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue