mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
[PR #860] [MERGED] feat: Add an option to have more verbose error messages and set the default value to false #1122
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plankanban/planka/pull/860
Author: @Nounoursdestavernes
Created: 8/28/2024
Status: ✅ Merged
Merged: 8/30/2024
Merged by: @meltyshev
Base:
master← Head:master📝 Commits (7)
64e344efix: update french translation2d3a765Merge branch 'plankanban:master' into master3b66ccfchore: Fix linting9a50494fix: more generic error messages on login82b03e5feat: correct bool according to the name (inversion of enable and disable)4b6e52aMerge branch 'master' of https://github.com/Nounoursdestavernes/planka into pr/8495831972chore: Rename env variable, refactoring📊 Changes
7 files changed (+29 additions, -2 deletions)
View changed files
📝
client/src/components/Login/Login.jsx(+6 -0)📝
client/src/locales/en-US/login.js(+1 -0)📝
docker-compose-dev.yml(+2 -0)📝
docker-compose.yml(+2 -0)📝
server/.env.sample(+2 -0)📝
server/api/controllers/access-tokens/create.js(+14 -2)📝
server/config/custom.js(+2 -0)📄 Description
Hi,
This PR add a new option that can be config through the
ENABLE_VERBOSE_ON_LOGINenv var. (This name can be change, not the best one I concede).Default value is
false. The error message when failling to login isInvalid Credentials.Setting to true will enable verbose.
Error messages become
Invalid email or usernameorInvalid password(Current behaviour).This setting must be set to
trueonly if rate limiter is enable. Otherwise this could lead to a security issue. (cf owasp )Best regards,
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.