initial mysql support

This commit is contained in:
Nils Domrose authored and Nils Domrose committed 2019-05-26 23:03:05 +02:00
1 parent badd22ac3d
commit ff759397f6
55 files changed
+454 -21

No files matched your search

@@ -0,0 +1,8 @@
UPDATE users
SET totp_secret = (
SELECT twofactor.data FROM twofactor
WHERE twofactor.type = 0
AND twofactor.user_uuid = users.uuid
);
DROP TABLE twofactor;