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
fix: forget-password link
  • Loading branch information
hyoban committed Dec 16, 2024
commit 9ed8610052eea10aa03968e12c6669bd245ee713
9 changes: 7 additions & 2 deletions apps/server/client/pages/(login)/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function Login() {
i18nKey="login.note"
components={{
RegisterLink: (
<Link to="/register" className="text-primary hover:underline">
<Link to="/register" className="text-accent hover:underline">
{t("login.register")}
</Link>
),
Expand Down Expand Up @@ -217,7 +217,12 @@ function LoginWithPassword() {
name="password"
render={({ field }) => (
<FormItem>
<FormLabel>{t("login.password")}</FormLabel>
<FormLabel className="flex items-center justify-between">
{t("login.password")}
<Link to="/forget-password" className="text-xs text-accent hover:underline">
{t("login.forget_password.note")}
</Link>
</FormLabel>
<FormControl>
<Input type="password" {...field} />
</FormControl>
Expand Down
2 changes: 1 addition & 1 deletion apps/server/client/pages/(login)/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function RegisterForm() {
i18nKey="register.note"
components={{
LoginLink: (
<Link to="/login" className="text-primary hover:underline">
<Link to="/login" className="text-accent hover:underline">
{t("register.login")}
</Link>
),
Expand Down
1 change: 1 addition & 0 deletions locales/external/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"login.email": "Email",
"login.forget_password.description": "Enter the email address associated with your account and we’ll send you an email about how to reset your password.",
"login.forget_password.label": "Forget Password",
"login.forget_password.note": "Forgot your password?",
"login.forget_password.success": "Email has been sent successfully",
"login.logIn": "Log in",
"login.logInTo": "Log in to ",
Expand Down
Loading