Skip to content
Snippets Groups Projects
Commit 036e25e1 authored by Etienne LOUPIAS's avatar Etienne LOUPIAS
Browse files

chore(user): add log

parent 3d04d699
1 merge request!420V3.2.0
......@@ -343,6 +343,7 @@ export class UsersService {
}
public async verifyAndUpdateUserEmail(token: string): Promise<IUser> {
this.logger.log(`verifyAndUpdateUserEmail token= ${token}`);
const user = await this.userModel.findOne({ changeEmailToken: token }).exec();
if (user) {
user.email = user.newEmail;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment