mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Adjust login modal
* Rename loginForm * Use larger buttons for logging in or registering * Use fully translated placeholder text
This commit is contained in:
@@ -64,8 +64,8 @@ angular.module('habitrpg')
|
||||
|
||||
$scope.auth = function() {
|
||||
var data = {
|
||||
username: $scope.loginUsername || $('#login-tab input[name="username"]').val(),
|
||||
password: $scope.loginPassword || $('#login-tab input[name="password"]').val()
|
||||
username: $scope.loginUsername || $('#loginForm input[name="username"]').val(),
|
||||
password: $scope.loginPassword || $('#loginForm input[name="password"]').val()
|
||||
};
|
||||
$http.post(ApiUrl.get() + "/api/v2/user/auth/local", data)
|
||||
.success(function(data, status, headers, config) {
|
||||
|
||||
Reference in New Issue
Block a user