lib/auth/decorators/authconfig.js
Function authconfig
has 31 lines of code (exceeds 30 allowed). Consider refactoring. Open
Open
function authconfig (target) {
Metadata.putClassMeta(target.prototype, '@authconfig', 'enabled', true);
if (!target.prototype.serializeUser) {
target.prototype.serializeUser = function (profile) { // eslint-disable-line no-unused-vars