feat: apollo upgrade to 2.0 + dev improvements + localization
This commit is contained in:
@@ -171,6 +171,7 @@ module.exports = class User extends Model {
|
||||
}
|
||||
|
||||
static async login (opts, context) {
|
||||
console.info(context)
|
||||
if (_.has(WIKI.auth.strategies, opts.strategy)) {
|
||||
_.set(context.req, 'body.email', opts.username)
|
||||
_.set(context.req, 'body.password', opts.password)
|
||||
|
Reference in New Issue
Block a user