Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
815 changes: 0 additions & 815 deletions app/backend/src/couchers/servicers/auth.py

This file was deleted.

1,654 changes: 0 additions & 1,654 deletions app/backend/src/tests/test_auth.py

This file was deleted.

286 changes: 0 additions & 286 deletions app/proto/auth.proto

This file was deleted.

11 changes: 10 additions & 1 deletion app/web/features/auth/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"hide_current_password": "Hide current password",
"show_current_password": "Show current password"
},
"change_signup_email_form": {
"title": "Change signup email",
"current_email_message": "Your email address is currently <strong>{{email}}</strong>.",
"success_message": "Your email change has been received. Check your new email to confirm your email.",
"new_email": "Changed email address",
"signup_change_email": "Change your email address"
},
"do_not_email": {
"title": "Do not email me",
"status": {
Expand Down Expand Up @@ -176,7 +183,9 @@
"sign_up_need_verification_title": "One last thing: confirm your email.",
"sign_up_resend_verification_email_help": "Didn't receive the email? Click <resendLink>here to resend the verification link</resendLink>.",
"sign_up_resend_verification_done": "Done! We've sent you another email.",
"sign_up_completed_prompt": "We have sent an email with a verification link to your email address. Please click the link to activate your account.",
"sign_up_change_email": "Mistyped your email address? Enter your correct email address here:",
"sign_up_completed_prompt": "We have sent an email with a verification link to your email address: <strong>{{providedEmailAddress}}</strong>. Please click the link to activate your account.",
"sign_up_completed_prompt_noemail": "We have sent an email with a verification link to your email address. Please click the link to activate your account.",
"sign_up_confirmed_prompt": "You're all done! If you are not redirected, try logging in.",
"unhandled_sign_up_state": "Error: unhandled signup flow state.",
"login_prompt": "Click here to log in",
Expand Down
1 change: 1 addition & 0 deletions app/web/features/auth/signup/BasicForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export default function BasicForm({ submitText, successCallback, inviteCode }: B
mutationFn: async (data) => {
const sanitizedEmail = lowercaseAndTrimField(data.email);
const sanitizedName = data.name.trim();
authActions.assignSignupEmail(sanitizedEmail);
const state = await service.auth.startSignup(sanitizedName, sanitizedEmail, inviteCode);
doAntibot("signup");
return authActions.updateSignupState(state);
Expand Down
Loading
Loading