I have section on nodebb forum that can only be viewed by verified users. If email is not going through, so they cant self-validate, can I as Admin verify them?

all 8 comments

sorted by: hot top controversial new old
[–] 2 points 1 year ago

You should be able to verify them in the ACP

  • source
  • [–] 1 point 8 months ago

    I want if user register then auto verify. How was possible.

  • source
  • [–] 1 point 8 months ago

    Every user? Or by conditions? This is easily possible with a simple plugin

  • source
  • [–] 1 point 8 months ago

    But I don't use Nodebb UI. I Call the API For register user using Admin Token.

  • source
  • [–] 1 point 8 months ago

    So you can also update the 'email:confirmed' field of the created user through the same API.

  • source
  • [–] 1 point 8 months ago

    Ok thanks @amaarets. Can I send params like { username: "", email: "", password: "", 'email:confirmed': 1 } I try above way but the do not verify email.

  • source
  • [–] 1 point 8 months ago

    Have you tried using this end point? https://github.com/NodeBB/NodeBB/blob/master/public/src/admin/modules/change-email.js#L26-L29

    That's used to set a users email and confirm it as long as the calling user is admin.

  • source
  • [–] 1 point 8 months ago

    baris Thank you, I'll try this.

  • source