Implement the correct mail confirmation
I have a client in the form of flutter and a server on nodejs. The problem is as follows. A confirmation window appears on flutter, I receive a code to my email address and enter it in the text field, but when I click confirm, an error is displayed. The sent code itself is saved in the database along with the specified mail. It must match the entered code and the code in the database.