Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: register or login with email and password #2075

Merged
merged 42 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
883f4d4
feat: login with password
hyoban Dec 9, 2024
6e80840
chore: auto-fix linting and formatting issues
hyoban Dec 9, 2024
c56d788
feat: show email
hyoban Dec 9, 2024
153d3fd
refactor: login form
hyoban Dec 10, 2024
37b488b
chore: update
hyoban Dec 10, 2024
07af537
fix: show login error
hyoban Dec 10, 2024
f008280
chore: update
hyoban Dec 10, 2024
5fb28e8
credential provider
hyoban Dec 10, 2024
dab66fe
feat: confirm password
hyoban Dec 10, 2024
0727536
chore: update
hyoban Dec 10, 2024
5848400
Merge branch 'dev' into feat/login-with-password
hyoban Dec 10, 2024
5315cb3
revokeOtherSessions when update password
hyoban Dec 10, 2024
777b1f3
changelog
hyoban Dec 10, 2024
8ea7183
typecheck
hyoban Dec 10, 2024
cf6a2b5
chore: update
hyoban Dec 10, 2024
ee360e3
Merge branch 'dev' into feat/login-with-password
hyoban Dec 10, 2024
742a8cb
Merge branch 'dev' into feat/login-with-password
hyoban Dec 11, 2024
49b1663
Merge branch 'dev' into feat/login-with-password
hyoban Dec 12, 2024
f7b716f
chore: update hono
hyoban Dec 12, 2024
25d641c
feat: forget password
hyoban Dec 12, 2024
67bc346
chore: update
hyoban Dec 12, 2024
be818db
Merge branch 'dev' into feat/login-with-password
hyoban Dec 12, 2024
190afc7
feat: reset password page
hyoban Dec 12, 2024
1e77650
Merge branch 'dev' into feat/login-with-password
hyoban Dec 16, 2024
0532152
feat: register form
hyoban Dec 16, 2024
079478b
chore: update
hyoban Dec 16, 2024
f77e481
chore: update
hyoban Dec 16, 2024
62de1df
chore: update
hyoban Dec 16, 2024
18bdec3
chore: update
hyoban Dec 16, 2024
f372005
fix: email login handler
hyoban Dec 16, 2024
b3d6932
fix: navigate to login after register
hyoban Dec 16, 2024
1f02560
chore: remove forget password button for now
hyoban Dec 16, 2024
03fc0ff
chore: update
hyoban Dec 16, 2024
0b65805
feat: forget password page
hyoban Dec 16, 2024
1096d49
chore: update hono
hyoban Dec 16, 2024
9ed8610
fix: forget-password link
hyoban Dec 16, 2024
678287e
feat: login email text
DIYgod Dec 16, 2024
dceec2c
refactor: enhance login and forget password functionality
Innei Dec 16, 2024
704e110
feat: add form validation and UI enhancements for login-related pages
Innei Dec 16, 2024
403a98f
feat: enhance login component with dynamic provider buttons
Innei Dec 16, 2024
06b3c0c
feat: add GitHub provider icon and adjust button margin in login comp…
Innei Dec 16, 2024
8748f46
chore: update
hyoban Dec 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
revokeOtherSessions when update password
  • Loading branch information
hyoban committed Dec 10, 2024
commit 5315cb30c3b53cb72a714e992cb69aa72f274029
6 changes: 5 additions & 1 deletion apps/renderer/src/modules/profile/update-password-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,11 @@ const UpdateExistingPasswordForm = () => {

const updateMutation = useMutation({
mutationFn: async (values: z.infer<typeof updatePasswordFormSchema>) => {
const res = await changePassword(values)
const res = await changePassword({
currentPassword: values.currentPassword,
newPassword: values.newPassword,
revokeOtherSessions: true,
})
if (res.error) {
throw new Error(res.error.message)
}
Expand Down
Loading
Loading