wip-flag-migration #28
@ -426,9 +426,6 @@ func (h *Handlers) Authorize(ctx context.Context, sym string, input []byte) (res
|
|||||||
res.FlagReset = append(res.FlagReset, flags["flag_account_authorized"])
|
res.FlagReset = append(res.FlagReset, flags["flag_account_authorized"])
|
||||||
return res, nil
|
return res, nil
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
res.FlagSet = append(res.FlagSet, flags["flag_incorrect_pin"])
|
|
||||||
res.FlagReset = append(res.FlagReset, flags["flag_account_authorized"])
|
|
||||||
}
|
}
|
||||||
} else if errors.Is(err, gdbm.ErrItemNotFound) {
|
} else if errors.Is(err, gdbm.ErrItemNotFound) {
|
||||||
return res, err
|
return res, err
|
||||||
|
Loading…
Reference in New Issue
Block a user