diff --git a/Sources/App/routes.swift b/Sources/App/routes.swift index 7d1f06f..f221ccb 100644 --- a/Sources/App/routes.swift +++ b/Sources/App/routes.swift @@ -35,8 +35,6 @@ func routes(_ app: Application) throws { let loginPassData = data.password?.data(using: .utf8) let loginPassHash = SHA256.hash(data: loginPassData ?? "".data(using: .utf8)!) let stringHash = loginPassHash.map { String(format: "%02hhx", $0) }.joined() - print("Recv: \(stringHash)") - print("Conf: \(config.passwordHash)") if stringHash == config.passwordHash { req.session.data["loggedIn"] = "true" return try req.redirect(to: "/")