mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 16:35:53 +02:00
[PR #1340] [MERGED] user: Allow changing the hashed password directly #1571
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1571
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/binwiederhier/ntfy/pull/1340
Author: @Tom-Hubrecht
Created: 5/20/2025
Status: ✅ Merged
Merged: 5/24/2025
Merged by: @binwiederhier
Base:
main← Head:hashed-pwd📝 Commits (1)
44b7c2fuser: Allow changing the hashed password directly📊 Changes
11 files changed (+144 additions, -107 deletions)
View changed files
📝
cmd/user.go(+24 -13)📝
server/server_account.go(+2 -2)📝
server/server_account_test.go(+12 -12)📝
server/server_admin.go(+1 -1)📝
server/server_admin_test.go(+8 -8)📝
server/server_payments_test.go(+9 -9)📝
server/server_test.go(+16 -16)📝
server/server_twilio_test.go(+4 -4)📝
server/server_webpush_test.go(+2 -2)📝
user/manager.go(+24 -8)📝
user/manager_test.go(+42 -32)📄 Description
This adds the detection of
NTFY_PASSWORD_HASHwhen creating a user or changing its passsword so that scripts don't have to manipulate the bare password.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.