Browse files

fixed create user

  • Loading branch information...
1 parent f3c53e0 commit 184442988e4ac5e9524ce74eac349acbff150477 @rodsimpson rodsimpson committed Sep 8, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 index.html
  2. +1 −1 js/app.js
View
2 index.html
@@ -12,7 +12,7 @@
<script type="text/javascript">
//first set the org / app path
- Usergrid.ApiClient.init('Apigee', 'messageeapp'); //<== update this line with the org name you signed up with
+ Usergrid.ApiClient.init('Apigee', 'messageeapp'); //<== update this line (organization name, application name)
</script>
</head>
View
2 js/app.js
@@ -206,7 +206,7 @@ $(document).ready(function () {
Usergrid.validation.validatePassword(password, function (){
$("#new-password").focus();
$("#new-password").addClass('error');}) ) {
- appUser = new Usergrid.User(); //make sure we have a clean user, and then add the data
+ appUser = new Usergrid.Entity('users'); //make sure we have a clean user, and then add the data
appUser.set({"name":name,"username":username,"email":email,"password":password});
appUser.save(
function () {

0 comments on commit 1844429

Please sign in to comment.