mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +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(
|
||||
context,
|
||||
null,
|
||||
true
|
||||
);
|
||||
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 decodedToken = await strapi.plugins['users-permissions'].services.jwt.verify(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user