mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-02 11:44:05 +09:00
resolveSingleUser returned the raw --identifier flag value instead of the identifier of the matched user. Renaming with --name therefore sent OldId=0 to the API and failed with "user not found". Return the matched user's identifier and pass it straight to the rename endpoint.