Skip to content

Commit 956cd9a

Browse files
committed
Fix error in README.md
1 parent e82f7b3 commit 956cd9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies:
2929
```crystal
3030
require "multi_auth"
3131

32-
MultiAuth.config("github", ENV['ID'], ENV['SECRET']) # configuration
32+
MultiAuth.config("github", ENV["ID"], ENV["SECRET"]) # configuration
3333

3434
multi_auth = MultiAuth.make(provider, redirect_uri) # initialize engine
3535
multi_auth.authorize_uri # URL to provider authentication dialog
@@ -101,7 +101,7 @@ end
101101
class OAuth::Handler::Callback < BrowserAction
102102
get "/oauth/:provider/callback" do
103103
user = MultiAuthHandler.user(provider, request.query_params)
104-
text user.email.to_s
104+
plain_text user.email.to_s
105105
end
106106
end
107107
```

0 commit comments

Comments
 (0)