Move error message to view

This commit is contained in:
ricola 2026-04-20 14:10:38 -06:00
parent 267dc439f1
commit 1acc369774
2 changed files with 2 additions and 2 deletions

View file

@ -134,7 +134,7 @@ post '/login' do
redirect '/'
end
else
@error = _("Incorrect email or password.")
@error = true
erb :login
end
end