Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Frontend
Minds Frontend
  • Project overview
  • Repository
  • Issues 384
  • Merge Requests 62
  • CI / CD
  • Security & Compliance
  • Packages
  • Analytics
  • Wiki
  • Snippets
  • Members
  • Collapse sidebar
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds FrontendMinds Frontend
  • Merge Requests
  • !761

Open
Opened 2 hours ago by Emiliano Balbuena@edgebal
Report abuse

WIP: Fix email confirmation on SSR

  • Overview 2
  • Commits 4
  • Pipelines 4
  • Changes 6
0/2 threads resolved

Summary

Fix email confirmation not being triggered on SSR site

  • Closes #2535

Steps to test

  • Go to review site
  • Register a new user with a valid email address
  • Go to your inbox and click the confirmation link/button
  • Ensure the "Confirm your email" blue banner does not show
  • Reload, and ensure the blue banner is still not showing
  • Go to Menu > Settings > Email Confirmation
  • Change your email to a valid email address
  • Go to newsfeed. Ensure the blue banner appears again
  • Go to your inbox and click the confirmation link/button
  • Ensure the blue banner doesn't show
  • Reload, and confirm the blue banner is still not showing

Estimated Regression Scope

  • SSR server engine and bootstrap
  • Email confirmation
Request to merge fix/ssr-email-confirmation into master
Open in Web IDE
Pipeline #115002530 running for cd149973 on fix/ssr-email-confirmation
              Requires 3 more approvals from Devs, Deployers, and QA.
              Marcelo Rivera Martin Santangelo Ben Hayward Rami Albatal Mark Harding
              This is a Work in Progress

              Closes #2535

              Deletes source branch

              You can merge this merge request manually using the
              • Emiliano Balbuena @edgebal added Squad::Yellow scoped label 2 hours ago

                added scoped label

              • Emiliano Balbuena @edgebal added 1 commit 2 hours ago

                added 1 commit

                • 5f026303 - (wip): Get request URL

                Compare with previous version

              • Emiliano Balbuena @edgebal added 1 commit 2 hours ago

                added 1 commit

                • 4aa92b4c - (wip): Use value at instantiation time; fix test

                Compare with previous version

              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 1 hour ago
                server.ts
                76 76 provideModuleMap,
                77 77 } = require('@nguniversal/module-map-ngfactory-loader');
                78 78
                79 app.engine(
                80 'html',
                81 ngExpressEngine({
                79 app.engine('html', (_, options, callback) => {
                80 const engine = ngExpressEngine({
                82 81 bootstrap: AppServerModuleNgFactory,
                83 providers: [provideModuleMap(LAZY_MODULE_MAP)],
                84 })
                85 );
                82 providers: [
                83 {
                • Mark Harding
                  Mark Harding @markeharding · 1 hour ago
                  Owner

                  Why are we doing this here vs on L150?

                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 1 hour ago
                server.ts
                76 76 provideModuleMap,
                77 77 } = require('@nguniversal/module-map-ngfactory-loader');
                78 78
                79 app.engine(
                80 'html',
                81 ngExpressEngine({
                79 app.engine('html', (_, options, callback) => {
                80 const engine = ngExpressEngine({
                82 81 bootstrap: AppServerModuleNgFactory,
                83 providers: [provideModuleMap(LAZY_MODULE_MAP)],
                84 })
                85 );
                82 providers: [
                83 {
                • Mark Harding
                  Mark Harding @markeharding · 1 hour ago
                  Owner

                  Also, it's not just SSR that requires it, it's the browser too.

                • Please register or sign in to reply
              • Emiliano Balbuena @edgebal added 1 commit 1 hour ago

                added 1 commit

                • cd149973 - (wip): Get query string

                Compare with previous version

              Please register or sign in to reply
              Assignee
              Emiliano Balbuena's avatar
              Emiliano Balbuena @edgebal
              None
              Milestone
              None
              Time tracking
              No estimate or time spent
              1
              Labels
              Squad::Yellow
              Lock merge request
              Unlocked
              10
              10 participants
              user avatar
              user avatar
              user avatar
              user avatar
              user avatar
              user avatar
              user avatar
              Reference: minds/front!761