Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed create user

  • Loading branch information...
commit 184442988e4ac5e9524ce74eac349acbff150477 1 parent f3c53e0
@rodsimpson rodsimpson authored
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 () {
Please sign in to comment.
Something went wrong with that request. Please try again.