The library I am using (ASP.NET Identity) to generate multi-factor authentication (MFA) codes will produce the same code for a given user within a certain period of time. Therefore if the user requests multiple codes in quick succession they will receive the same code multiple times.

From a security perspective, is this a problem?

It seems to be deliberate in the way the library has been designed. Am I missing some common method by which code repetition is avoided?