mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-29 21:25:43 +00:00
Compare commits
1 Commits
v0.3.0-bet
...
v0.3.0-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b901744e03 |
@@ -73,7 +73,7 @@ var VerifyCmd = &cobra.Command{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if docker {
|
if docker {
|
||||||
userSplit[1] = strings.ReplaceAll(password, "$$", "$")
|
userSplit[1] = strings.ReplaceAll(userSplit[1], "$$", "$")
|
||||||
}
|
}
|
||||||
|
|
||||||
verifyErr := bcrypt.CompareHashAndPassword([]byte(userSplit[1]), []byte(password))
|
verifyErr := bcrypt.CompareHashAndPassword([]byte(userSplit[1]), []byte(password))
|
||||||
|
|||||||
Reference in New Issue
Block a user