This commit is contained in:
tangly1024
2023-07-08 11:28:31 +08:00
parent c06e09d17a
commit 9502ed5b7b

View File

@@ -28,7 +28,6 @@ const Slug = props => {
*/
const validPassword = passInput => {
const encrypt = md5(post.slug + passInput)
console.log('passInput', passInput, post.slug)
if (passInput && encrypt === post.password) {
setLock(false)
return true