add server-sent errors and reduce oauth flow bare error pages

This commit is contained in:
41666 2019-03-21 07:04:17 -05:00
parent deef06fa2a
commit cd70c58cc9
5 changed files with 26 additions and 9 deletions

View file

@ -163,7 +163,6 @@ export default class AuthLogin extends React.Component<AuthLoginProps, AuthLogin
}
get dm () {
console.log({ e: process.env })
if (BOT_HANDLE) {
const [username, discrim] = BOT_HANDLE.split('#')
return <><b>{ username }</b>#{discrim}</>