grpc: provision sets the verifier on an already-existing account
All checks were successful
CI / check (push) Successful in 3m50s
All checks were successful
CI / check (push) Successful in 3m50s
An Anope import creates accounts (channel ownership, vhosts, certs) but can't carry the one-way password hash, so they exist without a verifier. provision then refused them as AlreadyExists, so the website's backfill could never give migrated members a credential — every one was locked out of password login. Make provision update the verifier in place on an existing account (logged as AccountPasswordSet), and treat an empty scram512 as absent consistently in apply(). Keyed by name, so imported channel/vhost/ban data stays attached.
This commit is contained in:
parent
d1685f7e53
commit
34bc7d69f0
5 changed files with 54 additions and 7 deletions
|
|
@ -24,7 +24,7 @@ members = [
|
|||
name = "echo"
|
||||
version = "0.0.1"
|
||||
edition = "2021"
|
||||
description = "Federated IRC services daemon (protocol-agnostic core, InspIRCd link first)"
|
||||
description = "Echo the modern IRC Services"
|
||||
license = "AGPL-3.0-or-later"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue