Merge branch 'master' into public-dashboard

# Conflicts:
#	server/database.js
#	server/server.js
#	server/util-server.js
This commit is contained in:
LouisLam
2021-09-13 01:09:01 +08:00
33 changed files with 1596 additions and 110 deletions

10
db/patch-2fa.sql Normal file
View File

@@ -0,0 +1,10 @@
-- You should not modify if this have pushed to Github, unless it does serious wrong with the db.
BEGIN TRANSACTION;
ALTER TABLE user
ADD twofa_secret VARCHAR(64);
ALTER TABLE user
ADD twofa_status BOOLEAN default 0 NOT NULL;
COMMIT;