File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,12 @@ export default class Invitation extends Component {
8585 }
8686
8787 if ( ! team ) return null
88+ const userId = this . props . user . uid
89+ if ( ! userId ) {
90+ return < article className = 'inner page' >
91+ You are not logged in. Sign in and come back to this link.
92+ </ article >
93+ }
8894 return (
8995 < article className = 'inner page' >
9096 You have been invited to join < b > { team . name } </ b >
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class Login extends Component {
1616 const OSM_NAME = publicRuntimeConfig . OSM_NAME
1717 return (
1818 < section className = 'inner page' >
19- < h1 > Login Provider </ h1 >
19+ < h1 > Login</ h1 >
2020 < p > Teams uses { OSM_NAME } as your login, connect your { OSM_NAME } account!</ p >
2121 < br />
2222 < Button href = { `/oauth/openstreetmap?login_challenge=${ this . props . challenge } ` } > Login with { OSM_NAME } </ Button >
You can’t perform that action at this time.
0 commit comments