diff --git a/README.md b/README.md index b516daac5..35dc5cbee 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ Open and confirm Omnivore is running Omnivore uses social login, but for testing there is an email + password option. -Go to in your browser. +Go to in your browser. ### Frontend Development diff --git a/packages/api/src/routers/auth/auth_router.ts b/packages/api/src/routers/auth/auth_router.ts index 147530351..b3d8853b6 100644 --- a/packages/api/src/routers/auth/auth_router.ts +++ b/packages/api/src/routers/auth/auth_router.ts @@ -452,14 +452,14 @@ export function authRouter() { if (data.signup.__typename === 'SignupError') { const errorCodes = data.signup.errorCodes.join(',') return res.redirect( - `${env.client.url}/email-registration?errorCodes=${errorCodes}` + `${env.client.url}/email-signup?errorCodes=${errorCodes}` ) } res.redirect(`${env.client.url}/email-login?message=SIGNUP_SUCCESS`) } catch (e) { logger.info('email-signup exception:', e) - res.redirect(`${env.client.url}/email-registration?errorCodes=UNKNOWN`) + res.redirect(`${env.client.url}/email-signup?errorCodes=UNKNOWN`) } } ) diff --git a/packages/cypress/cypress/integration/authentication/register-w-email.js b/packages/cypress/cypress/integration/authentication/register-w-email.js index ddfbbc0ee..0a6538c6c 100644 --- a/packages/cypress/cypress/integration/authentication/register-w-email.js +++ b/packages/cypress/cypress/integration/authentication/register-w-email.js @@ -5,7 +5,7 @@ const fullName = 'Test User' describe('Register with email', () => { it('creates a new user', function () { - cy.visit('/email-registration') + cy.visit('/email-signup') cy.get('input[name=email]').type(email) cy.get('input[name=username]').type(username) diff --git a/packages/cypress/cypress/support/commands.js b/packages/cypress/cypress/support/commands.js index 75636f3a8..8b5e492f8 100644 --- a/packages/cypress/cypress/support/commands.js +++ b/packages/cypress/cypress/support/commands.js @@ -16,7 +16,7 @@ Cypress.Commands.add('login', (email, password) => { }) Cypress.Commands.add('registerEmail', (email, username, password, fullName) => { - cy.visit('/email-registration') + cy.visit('/email-signup') cy.get('input[name=email]').type(email) cy.get('input[name=username]').type(username)