Start with basic authentication
This commit is contained in:
commit
5e8cda6fc0
6 changed files with 89 additions and 0 deletions
5
views/home.erb
Normal file
5
views/home.erb
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue