mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-29 18:59:58 +01:00
feat: bring back noskin option
if forum sets a default skin there was no way for the user to go back to the no skin version
This commit is contained in:
@@ -197,7 +197,7 @@ module.exports = function (middleware) {
|
||||
results.user['email:confirmed'] = results.user['email:confirmed'] === 1;
|
||||
results.user.isEmailConfirmSent = !!results.isEmailConfirmSent;
|
||||
|
||||
templateValues.bootswatchSkin = (parseInt(meta.config.disableCustomUserSkins, 10) !== 1 ? res.locals.config.bootswatchSkin : '') || meta.config.bootswatchSkin || '';
|
||||
templateValues.bootswatchSkin = res.locals.config.bootswatchSkin || '';
|
||||
templateValues.browserTitle = results.browserTitle;
|
||||
({
|
||||
navigation: templateValues.navigation,
|
||||
|
||||
Reference in New Issue
Block a user