Redirect lost souls to purgatory not limbo

pull/10616/head
Alex P 2017-11-07 22:33:18 -08:00
parent 87f186a61d
commit 2cdb22043a
1 changed files with 4 additions and 4 deletions

View File

@ -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