Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Commit

Permalink
fixed create user
Browse files Browse the repository at this point in the history
  • Loading branch information
rodsimpson committed Sep 8, 2012
1 parent f3c53e0 commit 1844429
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion js/app.js
Expand Up @@ -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 () {
Expand Down

0 comments on commit 1844429

Please sign in to comment.