mirror of
https://github.com/plankanban/planka.git
synced 2025-12-20 17:25:39 +03:00
fix: Set detected language on first login, remove auto-detect language option
This commit is contained in:
@@ -33,6 +33,7 @@ module.exports = {
|
||||
cover180: `${fileManager.buildUrl(`${sails.config.custom.userAvatarsPathSegment}/${inputs.record.avatar.uploadedFileId}/cover-180.${inputs.record.avatar.extension}`)}`,
|
||||
},
|
||||
},
|
||||
language: inputs.record.language || sails.config.i18n.defaultLocale,
|
||||
termsType: sails.hooks.terms.getTypeByUserRole(inputs.record.role),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user