mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-11-01 14:45:47 +00:00
Compare commits
2 Commits
v0.3.0-bet
...
v0.3.0-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b901744e03 | ||
|
|
61a7400cf1 |
@@ -46,4 +46,4 @@ COPY --from=builder /tinyauth/tinyauth ./
|
|||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD ["./tinyauth"]
|
ENTRYPOINT ["./tinyauth"]
|
||||||
@@ -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