Nginx htpasswd old password still working

Today I encountered a problem about htpasswd. I use htpasswd to make simple user authentication for my website. I use nginx as the reverse agent of my personal website. Today I tried to modify a password. I added a random number behind my old password. Like this old_pwd -> old_pwd_666. After the password is modified, I found that the old password can still pass the authentication. It's too strange. After reviewing the htpasswd helping documentation, I found the reason for the problem.

Number of Segments in a String

Problem Description

Third Maximum Number

Problem Description

Peeking Iterator

Problem Description

License Key Formatting

Problem Description

Fraction to Recurring Decimal

Problem Description

Path Sum

Problem Description

Valid Anagram

Problem Description

Is Subsequence

Problem Description

Min Stack

Problem Description

Unique Paths II

Problem Description

Moving Count

Problem Description

Pascal's Triangle

Problem Description

Search a 2D Matrix

Problem Description