Skip to content

Commit

Permalink
Fix topcraft.club
Browse files Browse the repository at this point in the history
  • Loading branch information
wtlgo committed Jun 13, 2024
1 parent d2b0439 commit 92febb9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ internal fun Route.createTopcraftClubRoute(plugin: IPlugin) {
}

val template = "$username$timestamp$secret"
val hash = plugin.utility.sha256(template)
val hash = plugin.utility.sha1(template)
if (signature != hash) {
call.respond(HttpStatusCode.InternalServerError, "Signature check failed")
return@post
Expand Down

0 comments on commit 92febb9

Please sign in to comment.