Skip to content

Commit

Permalink
Fix typo (!)
Browse files Browse the repository at this point in the history
  • Loading branch information
ammmir committed Sep 7, 2011
1 parent 65790c0 commit c573ccb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/simple.js
Expand Up @@ -27,7 +27,7 @@ myOAP.on('enforce_login', function(req, res, authorize_url, next) {
// render the authorize form with the submission URL
// use two submit buttons named "allow" and "deny" for the user's choice
myOAP.on('authorize_form', function(req, res, client_id, authorize_url) {
res.end('<html>this app wants to access your dialoggs account... <form method="post" action="' + authorize_url + '"><button name="allow">Allow</button><button name="deny">Deny</button></form>');
res.end('<html>this app wants to access your account... <form method="post" action="' + authorize_url + '"><button name="allow">Allow</button><button name="deny">Deny</button></form>');
});

// save the generated grant code for the current user
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "oauth2-provider",
"version": "0.0.0",
"version": "0.0.1",
"description": "A simple customizable OAuth 2.0 provider (server) for node.js.",
"author": {
"name": "Amir Malik",
Expand Down

0 comments on commit c573ccb

Please sign in to comment.