diff --git a/demo/README.md b/demo/README.md
index 3951ea2..dce0602 100644
--- a/demo/README.md
+++ b/demo/README.md
@@ -112,7 +112,7 @@ export MICROSOFT_CLIENT_SECRET=rDq8Q~.uc-237FryAt-lGu7G1sQkKR
export MICROSOFT_CLIENT_ID=a3d22eeb-85aa-4650-8ee8-3383931
```
-> ⚠️ Don't worry, these keys aren't valid.
+> ⚠️ Don't worry, these values aren't valid.
They are just here for illustration purposes.
## 3. Create 2 New Files ➕
@@ -135,7 +135,7 @@ defmodule AppWeb.MicrosoftAuthController do
use AppWeb, :controller
@doc """
- `index/2` handles the callback from Google Auth API redirect.
+ `index/2` handles the callback from Microsoft Auth API redirect.
"""
def index(conn, %{"code" => code, "state" => state}) do
@@ -444,9 +444,8 @@ Open the file and add the following function:
def logout(conn, _params) do
# Clears token from user session
- conn = conn |> delete_session(:token)
-
conn
+ |> delete_session(:token)
|> redirect(to: "/")
end
```
@@ -466,7 +465,7 @@ Inside `lib/app_web/templates/page/welcome.html.heex`,
add the button.
```html
-
+
```