mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 21:35:55 +01:00
bug fix: ignore password filter
This commit is contained in:
@@ -251,7 +251,7 @@ app.controller('modifyUser', function ($scope, $http) {
|
|||||||
firstName: firstName,
|
firstName: firstName,
|
||||||
lastName: lastName,
|
lastName: lastName,
|
||||||
email: email,
|
email: email,
|
||||||
password: password,
|
passwordByPass: password,
|
||||||
securityLevel: $scope.securityLevel
|
securityLevel: $scope.securityLevel
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1345,7 +1345,7 @@ app.controller('websitePages', function ($scope, $http, $timeout, $window) {
|
|||||||
|
|
||||||
function ListInitialDatas(response) {
|
function ListInitialDatas(response) {
|
||||||
|
|
||||||
if (response.data.installStatus == 1) {
|
if (response.data.installStatus === 1) {
|
||||||
if (typeof path != 'undefined') {
|
if (typeof path != 'undefined') {
|
||||||
$scope.installationURL = "http://" + domain + "/" + path;
|
$scope.installationURL = "http://" + domain + "/" + path;
|
||||||
} else {
|
} else {
|
||||||
@@ -1432,7 +1432,7 @@ app.controller('websitePages', function ($scope, $http, $timeout, $window) {
|
|||||||
|
|
||||||
function ListInitialDatas(response) {
|
function ListInitialDatas(response) {
|
||||||
|
|
||||||
if (response.data.installStatus == 1) {
|
if (response.data.installStatus === 1) {
|
||||||
if (typeof path != 'undefined') {
|
if (typeof path != 'undefined') {
|
||||||
$scope.installationURL = "http://" + domain + "/" + path;
|
$scope.installationURL = "http://" + domain + "/" + path;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -251,7 +251,7 @@ app.controller('modifyUser', function ($scope, $http) {
|
|||||||
firstName: firstName,
|
firstName: firstName,
|
||||||
lastName: lastName,
|
lastName: lastName,
|
||||||
email: email,
|
email: email,
|
||||||
password: password,
|
passwordByPass: password,
|
||||||
securityLevel: $scope.securityLevel
|
securityLevel: $scope.securityLevel
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -331,8 +331,8 @@ def saveModifications(request):
|
|||||||
json_data = json.dumps(data_ret)
|
json_data = json.dumps(data_ret)
|
||||||
return HttpResponse(json_data)
|
return HttpResponse(json_data)
|
||||||
|
|
||||||
token = hashPassword.generateToken(accountUsername, data['password'])
|
token = hashPassword.generateToken(accountUsername, data['passwordByPass'])
|
||||||
password = hashPassword.hash_password(data['password'])
|
password = hashPassword.hash_password(data['passwordByPass'])
|
||||||
|
|
||||||
user.firstName = firstName
|
user.firstName = firstName
|
||||||
user.lastName = lastName
|
user.lastName = lastName
|
||||||
|
|||||||
Reference in New Issue
Block a user