feat: simplify landing page
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
5dd8044035
commit
9ff7bf5801
@ -55,7 +55,7 @@ export function ifNotVerifiedRedirectToUpdateEmail(req, res, next) {
|
||||
return next();
|
||||
}
|
||||
|
||||
export function ifUserRedirectTo(path = `${homeLocation}/welcome`, status) {
|
||||
export function ifUserRedirectTo(path = `${homeLocation}/`, status) {
|
||||
status = status === 302 ? 302 : 301;
|
||||
return (req, res, next) => {
|
||||
const { accessToken } = getAccessTokenFromRequest(req);
|
||||
|
Reference in New Issue
Block a user