Start with basic authentication

This commit is contained in:
ricola 2025-04-06 17:04:31 -06:00
commit 5e8cda6fc0
6 changed files with 89 additions and 0 deletions

5
views/home.erb Normal file
View file

@ -0,0 +1,5 @@
<h1>Home</h1>
<p>Hello, <%= current_user.email %>.</p>
<form action="/logout" method="POST">
<input type="submit" value="Log out" />
</form>