mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-26 03:01:12 +03:00
Updates to change/reset password functionality (#5294)
* feat: require old password when changing password * update account settings page - require old password for changing passwords * update profile dropdown - go to /account route for updating account details * Remove all session based on user id after password change * fix: run lint-fix * remove unnecessary error page on account * fix: prevent logout if user provides wrong current password * fix: remove unused user profile page * fix: import --------- Co-authored-by: Henry <hzj94@hotmail.com>
This commit is contained in:
@@ -25,6 +25,7 @@ import { OrganizationUser } from '../../enterprise/database/entities/organizatio
|
||||
import { Workspace } from '../../enterprise/database/entities/workspace.entity'
|
||||
import { WorkspaceUser } from '../../enterprise/database/entities/workspace-user.entity'
|
||||
import { LoginMethod } from '../../enterprise/database/entities/login-method.entity'
|
||||
import { LoginSession } from '../../enterprise/database/entities/login-session.entity'
|
||||
|
||||
export const entities = {
|
||||
ChatFlow,
|
||||
@@ -55,5 +56,6 @@ export const entities = {
|
||||
OrganizationUser,
|
||||
Workspace,
|
||||
WorkspaceUser,
|
||||
LoginMethod
|
||||
LoginMethod,
|
||||
LoginSession
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user