Browse Source

[release] v0.13.1

Yann Stepienik 1 year ago
parent
commit
7a3fdfb467
4 changed files with 6 additions and 2 deletions
  1. 3 0
      changelog.md
  2. 1 1
      package.json
  3. 1 0
      readme.md
  4. 1 1
      src/user/register.go

+ 3 - 0
changelog.md

@@ -1,3 +1,6 @@
+## Version 0.13.1
+ - Fix a security issue with token (thansk @vncloudsco)
+
 ## Version 0.13.0
  - Display container stacks as a group in the UI
  - New Delete modal to delete services entirely

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "cosmos-server",
-  "version": "0.13.0",
+  "version": "0.13.1",
   "description": "",
   "main": "test-server.js",
   "bugs": {

+ 1 - 0
readme.md

@@ -12,6 +12,7 @@
 <a href="https://github.com/owengraven"><img src="https://avatars.githubusercontent.com/owengraven" style="border-radius:48px" width="48" height="48" alt="Owen" title="Owen" /></a>
 <a href="https://github.com/DGAzr"><img src="https://avatars.githubusercontent.com/DGAzr" style="border-radius:48px" width="48" height="48" alt="null" title="null" /></a>
 <a href="https://github.com/LostPoE"><img src="https://avatars.githubusercontent.com/LostPoE" style="border-radius:48px" width="48" height="48" alt="null" title="null" /></a>
+<a href="https://github.com/eldergod1800"><img src="https://avatars.githubusercontent.com/eldergod1800" style="border-radius:48px" width="48" height="48" alt="null" title="null" /></a>
 <a href="https://github.com/Dimtar"><img src="https://avatars.githubusercontent.com/Dimtar" style="border-radius:48px" width="48" height="48" alt="Daniel C" title="Daniel C" /></a>
 </p><!-- /sponsors -->
 

+ 1 - 1
src/user/register.go

@@ -91,7 +91,7 @@ func UserRegister(w http.ResponseWriter, req *http.Request) {
 					"RegisterKeyExp": time.Time{},
 					"RegisteredAt": RegisteredAt,
 					"LastPasswordChangedAt": time.Now(),
-					"PassowrdCycle": user.PasswordCycle + 1,
+					"PasswordCycle": user.PasswordCycle + 1,
 				},
 			})