From 3845f78e2cdf64fd89d995b44fc920d8b0a31602 Mon Sep 17 00:00:00 2001 From: "kacaii.dev" Date: Tue, 16 Jun 2026 10:57:10 -0300 Subject: [PATCH] page/login: change "password" field to "senha" --- gleam.toml | 3 +++ src/client/page/login.gleam | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gleam.toml b/gleam.toml index 3d8caa5..c3c548e 100644 --- a/gleam.toml +++ b/gleam.toml @@ -18,6 +18,9 @@ lucide_lustre = ">= 2.0.3 and < 3.0.0" [lucide_lustre] output_module = "client/icon" +[tools.lustre.dev] +proxy = { from = "/api", to = "http://localhost:8000/api" } + [tools.lustre.html] title = "BFD" stylesheets = [{ href = "https://unpkg.com/@knadh/oat/oat.min.css" }] diff --git a/src/client/page/login.gleam b/src/client/page/login.gleam index 2762023..8a1a109 100644 --- a/src/client/page/login.gleam +++ b/src/client/page/login.gleam @@ -69,7 +69,7 @@ pub fn update(model: Model, message: Message) -> LoginStep { let body = json.object([ #("email", json.string(model.email)), - #("password", json.string(model.password)), + #("senha", json.string(model.password)), ]) let effect = -- 2.51.2