Skip to content

Commit 9eb82fc

Browse files
authored
Merge pull request #77 from FreeTAKTeam/76-admin-password-set-fails-silently
fix: fixed password reset
2 parents c8648be + c7fd1d7 commit 9eb82fc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

FreeTAKServer-UI/app/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def create_app(config, selenium=False):
9090
# UI configuration
9191
# UI version DO NOT modify it
9292

93-
app.config['UIVERSION'] = '2.2'
93+
app.config['UIVERSION'] = '2.2.1'
9494

9595
# number of milliseconds to query FTS for connected Users, health, a System status
9696
app.config['USERINTERVAL'] = '180000';

FreeTAKServer-UI/app/home/templates/page-user.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ <h5 class="title" style="font-size: 14px; color: #278aed">[EDIT PROFILE]</h5>
9292
const changeUserDetail = () => {
9393
console.log('running Change User detail')
9494
var updatedUserDetails = {}
95-
updatedUserDetails.password = document.getElementById('password').value;
96-
updatedUserDetails.token = document.getElementById('token').value;
95+
updatedUserDetails.Password = document.getElementById('password').value;
96+
updatedUserDetails.Token = document.getElementById('token').value;
9797
if (document.getElementById('group') !== null) {
98-
updatedUserDetails.group = document.getElementById('group').value;
98+
updatedUserDetails.Group = document.getElementById('group').value;
9999
}
100100
updatedUserDetails.uid = "{{ user_id }}"
101101
socket.emit("updateSystemUser", JSON.stringify({"systemUsers": [updatedUserDetails]}))

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "freetakserver-ui"
7-
version = "2.2"
7+
version = "2.2.1"
88
description = "an optional UI for FreeTAKServer"
99
authors = ["FreeTAKTeam <FreeTakTeam@gmail.com>"]
1010
readme= "README.md"

0 commit comments

Comments
 (0)