Redirect lost souls to purgatory not limbo
parent
87f186a61d
commit
2cdb22043a
|
@ -106,8 +106,8 @@ const CheckSources = React.createClass({
|
|||
const restString = rest === null ? DEFAULT_HOME_PAGE : rest[1]
|
||||
|
||||
if (isUsingAuth && me.role === MEMBER_ROLE) {
|
||||
// if you're a member, go to limbo.
|
||||
return router.push('/limbo')
|
||||
// if you're a member, go to purgatory.
|
||||
return router.push('/purgatory')
|
||||
}
|
||||
|
||||
if (isUsingAuth && me.role === VIEWER_ROLE) {
|
||||
|
@ -116,8 +116,8 @@ const CheckSources = React.createClass({
|
|||
} else if (sources[0]) {
|
||||
return router.push(`/sources/${sources[0].id}/${restString}`)
|
||||
}
|
||||
// if you're a viewer and there are no sources, go to limbo.
|
||||
return router.push('/limbo')
|
||||
// if you're a viewer and there are no sources, go to purgatory.
|
||||
return router.push('/purgatory')
|
||||
}
|
||||
|
||||
// if you're an editor or not using auth, try for sources or otherwise
|
||||
|
|
Loading…
Reference in New Issue