Software /
code /
prosody-modules
File
mod_register_apps/copyright @ 6193:e977174082ee
mod_invites_register_api: Use set_password() for password resets
Previously the code relied on the (weird) behaviour of create_user(), which
would update the password for a user account if it already existed. This has
several issues, and we plan to deprecate this behaviour of create_user().
The larger issue is that this route does not trigger the user-password-changed
event, which can be a security problem. For example, it did not disconnect
existing user sessions (this occurs in mod_c2s in response to the event).
Switching to set_password() is the right thing to do
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 06 Feb 2025 10:24:30 +0000 |
parent | 4091:354dc1e7977a |
line wrap: on
line source
Copyright of the assets included in the assets/ folder: generic.svg: (C) Matthew Wild 2020 Distributed under the MIT license of the prosody-modules project. Derived from the XMPP logo of the XMPP Standards Foundation: Source: https://en.wikipedia.org/wiki/XMPP#/media/File:XMPP_logo.svg License (MIT): https://opensource.org/licenses/mit-license.php gajim.svg: Source: https://dev.gajim.org/gajim/gajim/-/blob/master/gajim/data/icons/hicolor/scalable/apps/org.gajim.Gajim.svg License (GPLv3): https://dev.gajim.org/gajim/gajim/-/blob/master/COPYING dino.svg: Source: https://github.com/dino/dino/blob/3a00177a51e48d6bafc1e67bab26bc510e6400d8/main/data/icons/im.dino.Dino.svg License (GPLv3): https://github.com/dino/dino/blob/3a00177a51e48d6bafc1e67bab26bc510e6400d8/LICENSE conversations.svg: Source: https://github.com/iNPUTmice/Conversations/blob/master/art/ic_launcher.svg License (CC-BY-SA 4.0): https://github.com/iNPUTmice/Conversations/blob/master/art/LICENSE siskin-im.png: Source: https://github.com/tigase/siskin-im/blob/master/SiskinIM%20-%20Share/Assets.xcassets/AppIcon.appiconset/IMG_1607_3-120.png License (GPLv3): https://github.com/tigase/siskin-im/blob/master/COPYING beagle-im.png: Source: https://github.com/tigase/beagle-im/blob/master/BeagleIM/Assets.xcassets/AppIcon.appiconset/IMG_0720_256-1.png License (GPLv3): https://github.com/tigase/beagle-im/blob/master/LICENSE yaxim.svg: Source: https://github.com/yaxim-org/yaxim/blob/master/asset-graphics/yak/yak-front-grass.svg License (GPLv3): https://github.com/yaxim-org/yaxim/blob/master/LICENSE.txt