• 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 + small code change request

Scheduled Pinned Locked Moved Feature Requests
1 Posts 1 Posters 171 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.
  • Nir SN Offline
    Nir SN Offline
    Nir S
    wrote on last edited by
    #1

    Hey,

    Not sure if that's the right category, but here goes.

    I want to implement a plugin which makes it so the email addresses of registered users are stored hashed for privacy reasons.

    I think I can use action:user.email.confirmed to overwrite the email with its hashed version.
    I want to still support password reset and to that end I want to use the hashed provided email to get the uid of the user.

    Would it be possible to add a hook for filtering the email provided to getUidByEmail here?

    Additionally, in order to use the non-hashed email as the address, it would also require passing the user provided email in params here.

    Wdyt?

    See here for more details.

    Thanks!

    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