mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 01:29:21 +00:00
merge @speg pr
This commit is contained in:
commit
6ac7f9e5c7
1 changed files with 7 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ angular.module('authCtrl', [])
|
|||
}
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
$scope.auth = function() {
|
||||
var data = {
|
||||
username: $scope.loginUsername,
|
||||
|
|
@ -74,6 +75,12 @@ angular.module('authCtrl', [])
|
|||
runAuth(data.id, data.token);
|
||||
}).error(errorAlert);
|
||||
}
|
||||
=======
|
||||
$scope.auth = function() {
|
||||
var data = {
|
||||
username: $scope.loginUsername || $('#login-tab input[name="username"]').val(),
|
||||
password: $scope.loginPassword || $('#login-tab input[name="password"]').val()
|
||||
>>>>>>> 99dccc288e4ab6c61a317437616b79d157e8b68b
|
||||
};
|
||||
|
||||
$scope.playButtonClick = function(){
|
||||
|
|
|
|||
Loading…
Reference in a new issue