F-2024-0005·code-quality
Reset function is redundant
TL;DR
A reset function duplicated behavior already available through the session-end flow, adding surface area to the application without delivering new functionality.
Severity
INFO
Impact
LOW
Likelihood
LOW
Method
MManual review
CAT.
Complexity
LOW
Exploitability
LOW
02Section · Description
Description
The reset function duplicated behavior already accessible through the session-end flow. Both code paths achieved the same outcome from the user's perspective. Maintaining both increases surface area to test, audit, and secure without delivering new functionality.
03Section · Impact
Impact
Informational. No direct security impact; a code-quality and surface-area concern.
04Section · Recommendation
Recommendation
Consolidate to a single canonical session-reset path. Remove the redundant function or, if both must remain for compatibility, have one delegate to the other.
Hopium: Acknowledged. Zealynx: Acknowledged.