[PR #168] [MERGED] Fix updates of the username and email #944

Closed
opened 2026-02-04 21:39:47 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/plankanban/planka/pull/168
Author: @SimonTagne
Created: 10/10/2021
Status: Merged
Merged: 10/20/2021
Merged by: @meltyshev

Base: masterHead: fix-username-and-email-updates


📝 Commits (1)

  • aeb8957 Fix updates of the username and email

📊 Changes

2 files changed (+2 additions, -2 deletions)

View changed files

📝 server/api/controllers/users/update-email.js (+1 -1)
📝 server/api/controllers/users/update-username.js (+1 -1)

📄 Description

When trying to change a username or password, the request failed with the following error:

error: Sending 500 ("Server Error") response: 
 TypeError: sails.helpers.users.update is not a function
    at Object.fn (.../server/api/controllers/users/update-username.js:74:8)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
error: Sending 500 ("Server Error") response: 
 TypeError: sails.helpers.users.update is not a function
    at Object.fn (.../server/api/controllers/users/update-email.js:72:8)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/plankanban/planka/pull/168 **Author:** [@SimonTagne](https://github.com/SimonTagne) **Created:** 10/10/2021 **Status:** ✅ Merged **Merged:** 10/20/2021 **Merged by:** [@meltyshev](https://github.com/meltyshev) **Base:** `master` ← **Head:** `fix-username-and-email-updates` --- ### 📝 Commits (1) - [`aeb8957`](https://github.com/plankanban/planka/commit/aeb8957b6b673d5a75ff1f57468735d60e3a5c19) Fix updates of the username and email ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `server/api/controllers/users/update-email.js` (+1 -1) 📝 `server/api/controllers/users/update-username.js` (+1 -1) </details> ### 📄 Description When trying to change a username or password, the request failed with the following error: ``` error: Sending 500 ("Server Error") response: TypeError: sails.helpers.users.update is not a function at Object.fn (.../server/api/controllers/users/update-username.js:74:8) at processTicksAndRejections (node:internal/process/task_queues:96:5) error: Sending 500 ("Server Error") response: TypeError: sails.helpers.users.update is not a function at Object.fn (.../server/api/controllers/users/update-email.js:72:8) at processTicksAndRejections (node:internal/process/task_queues:96:5) ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 21:39:47 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#944