mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Support for storing salted passwords
To upgrade existing databases: ALTER TABLE Users ADD Salt CHAR(32) NOT NULL DEFAULT ''; Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
5b8b0757f4
commit
290c436046
4 changed files with 74 additions and 21 deletions
|
@ -26,6 +26,7 @@ CREATE TABLE Users (
|
|||
Username CHAR(32) NOT NULL,
|
||||
Email CHAR(64) NOT NULL,
|
||||
Passwd CHAR(32) NOT NULL,
|
||||
Salt CHAR(32) NOT NULL DEFAULT '',
|
||||
ResetKey CHAR(32) NOT NULL DEFAULT '',
|
||||
RealName CHAR(64) NOT NULL DEFAULT '',
|
||||
LangPreference CHAR(5) NOT NULL DEFAULT 'en',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue