frontend, api: allow disabling login methods individually

This commit is contained in:
Adhityaa Chandrasekar committed 2019-04-19 19:03:34 -04:00
1 parent 0e54739980
commit a455ff54bc
17 files changed
+258 -56

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
-- Make all login providers optional (but enabled by default)
ALTER TABLE domains
ADD commentoProvider BOOLEAN NOT NULL DEFAULT true;
ALTER TABLE domains
ADD googleProvider BOOLEAN NOT NULL DEFAULT true;
ALTER TABLE domains
ADD twitterProvider BOOLEAN NOT NULL DEFAULT true;
ALTER TABLE domains
ADD githubProvider BOOLEAN NOT NULL DEFAULT true;
ALTER TABLE domains
ADD gitlabProvider BOOLEAN NOT NULL DEFAULT true;