Load theme as a user setting; allow the user to change it; update tests.

This commit is contained in:
Paulo Reis
2018-08-27 15:25:00 +01:00
parent 2fbcaebac7
commit efc926ffc5
14 changed files with 53 additions and 21 deletions
@@ -72,6 +72,7 @@ UserSchema = new Schema
id: { type: Number }
accessToken: { type: String }
refreshToken: { type: String }
overallTheme: { type: String, default: "" }
awareOfV2: { type:Boolean, default: false }
conn = mongoose.createConnection(Settings.mongo.url, {