• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

HOOK for intercepting "Register user"

Scheduled Pinned Locked Moved Plugin Development
3 Posts 2 Posters 1.6k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Gauri PadbidriG Offline
    Gauri PadbidriG Offline
    Gauri Padbidri
    wrote on last edited by
    #1

    I want to be able to achieve the following feature : "When user registers AS A NEW USER to the NodeBB Site SUCCESSFULLY, I want to create a same user to some other appplication with same username and password".

    Query : Any HOOK that I can intercept to achieve this feature ? Also, can I get the username and password as part of parameters for that HOOK ?

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #2

    @Gauri-Padbidri You'll want to listen for the action:user.create hook, which is fired after a user is created successfully.

    It returns user data, including username, although for security purposes, it does not return the password.

    1 Reply Last reply
    0
  • Gauri PadbidriG Offline
    Gauri PadbidriG Offline
    Gauri Padbidri
    wrote on last edited by
    #3

    Thanks Julian ! But, what if I want to somehow get the users entered password into that action hook ? Any thing I can do to get the password in the create User HOOK ?

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development