π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
[WEB-1319] chore: auth fixes and enhancement (#4519)
Anmol Singh Bhatiab4b111e2974a
diff --git a/web/components/onboarding/invite-members.tsx b/web/components/onboarding/invite-members.tsxindex 366583f6fd..15d17c7380 100644--- a/web/components/onboarding/invite-members.tsx+++ b/web/components/onboarding/invite-members.tsx@@ -415,7 +415,7 @@ export const InviteMembers: React.FC<Props> = (props) => {Add another</button></div>- <div className="flex flex-col mx-auto px-8 sm:px-2 items-center justify-center gap-4 w-96">+ <div className="flex flex-col mx-auto px-8 sm:px-2 items-center justify-center gap-4 w-full max-w-96"><Buttonvariant="primary"type="submit"diff --git a/web/pages/profile/change-password.tsx b/web/pages/profile/change-password.tsxindex 4a493ed598..0d1575de83 100644--- a/web/pages/profile/change-password.tsx+++ b/web/pages/profile/change-password.tsx@@ -68,6 +68,8 @@ const ChangePasswordPage: NextPageWithLayout = observer(() => {const password = watch("new_password");const confirmPassword = watch("confirm_password");+ const isNewPasswordSameAsOldPassword = oldPassword !== "" && password !== "" && password === oldPassword;+const handleShowPassword = (key: keyof typeof showPassword) =>setShowPassword((prev) => ({ ...prev, [key]: !prev[key] }));@@ -211,6 +213,9 @@ const ChangePasswordPage: NextPageWithLayout = observer(() => {)}</div>{passwordSupport}+ {isNewPasswordSameAsOldPassword && !isPasswordInputFocused && (+ <span className="text-xs text-red-500">New password must be different from old password</span>+ )}</div><div className="space-y-1"><h4 className="text-sm">Confirm password</h4>