forked from rjrodger/seneca-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added README for user-accounts example
- Loading branch information
Jake Pruitt
committed
Jul 11, 2014
1 parent
9a917e2
commit 527bae8
Showing
3 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ seneca.use('auth',{ | |
register: { | ||
win: '/account', | ||
fail: '/#failed' | ||
}, | ||
} | ||
} | ||
}) | ||
|
||
|
@@ -95,7 +95,7 @@ u.register({nick:'a1',name:'na1',email:'[email protected]',password:'a1',active:tru | |
// create a HTTP server using the core Node API | ||
// this lets the admin plugin use web sockets | ||
var server = http.createServer(app) | ||
server.listen( options.main.port ) | ||
server.listen( options.main ? options.main.port : 3000 ) | ||
|
||
// visit http://localhost[:port]/admin to see the admin page | ||
// you'll need to logged in as an admin - user 'a1' above | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters