lnbits-legend/lnbits/core/views
dni ⚡ a4c000d7dc
feat: add password reset for usermanager (#2688)
* feat: add password reset for usermanager
- add a reset_key to account table
- add ?reset_key= GET arguments to index.html and show reset form if provided
- superuser can generate and copy reset url with key to share
future ideas:
- could add send forgot password email if user fill out email address
* feat: simplify reset key
* test: use reset key
* test: add more tests
* test: reset passwords do not match
* test: `reset_password_auth_threshold_expired`

---------

Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
2024-10-01 10:59:57 +02:00
..
__init__.py refactor: breaking bad 2020-03-08 23:00:41 +01:00
admin_api.py refactor: get_balance_delta and use pydantic model for openapi docs (#2492) 2024-05-13 17:59:29 +02:00
api.py [feat] Nostr Login (#2703) 2024-09-30 13:53:38 +02:00
auth_api.py feat: add password reset for usermanager (#2688) 2024-10-01 10:59:57 +02:00
extension_api.py Fix overlapping redirect paths (#2671) 2024-09-11 12:41:37 +03:00
generic.py [feat] Nostr Login (#2703) 2024-09-30 13:53:38 +02:00
node_api.py feat: adhere to ruff's B rules (#2423) 2024-04-17 13:11:51 +02:00
payment_api.py refactor: remove get_key_type decorator (#2676) 2024-09-24 10:56:34 +02:00
public_api.py refactor: add status column to apipayments (#2537) 2024-07-24 16:47:26 +03:00
tinyurl_api.py feat: adhere to ruff's B rules (#2423) 2024-04-17 13:11:51 +02:00
user_api.py feat: add password reset for usermanager (#2688) 2024-10-01 10:59:57 +02:00
wallet_api.py refactor: remove get_key_type decorator (#2676) 2024-09-24 10:56:34 +02:00
webpush_api.py [test] webpush_api endpoints (#2534) 2024-05-23 23:23:32 +02:00
websocket_api.py feat: add settings.lnbits_running (#2450) 2024-04-22 12:33:53 +03:00