mirror of
https://github.com/arnaucube/commonroutesApp.git
synced 2026-02-07 19:46:44 +01:00
post new offering travel, and user page
This commit is contained in:
@@ -6,7 +6,7 @@ angular.module('app.signup', ['pascalprecht.translate'])
|
||||
console.log('Doing signup', $scope.signupData);
|
||||
if ($scope.emptyParams($scope.signupData)) {
|
||||
$http({
|
||||
url: urlapi + 'users',
|
||||
url: urlapi + 'signup',
|
||||
method: "POST",
|
||||
data: $scope.signupData
|
||||
})
|
||||
@@ -49,7 +49,7 @@ angular.module('app.signup', ['pascalprecht.translate'])
|
||||
if (obj.password == undefined) {
|
||||
return (false);
|
||||
}
|
||||
if (obj.mail == undefined) {
|
||||
if (obj.email == undefined) {
|
||||
return (false);
|
||||
}
|
||||
/*if(obj.avatar==undefined)
|
||||
|
||||
Reference in New Issue
Block a user