mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 11:25:17 +00:00
Merge branch 'master' into develop
This commit is contained in:
commit
94dbf10adc
@ -249,6 +249,7 @@ module.exports = {
|
|||||||
|
|
||||||
await strapi.plugins['users-permissions'].controllers.auth.emailConfirmation(
|
await strapi.plugins['users-permissions'].controllers.auth.emailConfirmation(
|
||||||
context,
|
context,
|
||||||
|
null,
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
let output = context.body.toJSON ? context.body.toJSON() : context.body;
|
let output = context.body.toJSON ? context.body.toJSON() : context.body;
|
||||||
|
|||||||
@ -568,7 +568,7 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
async emailConfirmation(ctx, returnUser) {
|
async emailConfirmation(ctx, next, returnUser) {
|
||||||
const params = ctx.query;
|
const params = ctx.query;
|
||||||
|
|
||||||
const decodedToken = await strapi.plugins['users-permissions'].services.jwt.verify(
|
const decodedToken = await strapi.plugins['users-permissions'].services.jwt.verify(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user