mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
Adds logout for non-admin users
This commit is contained in:
@@ -75,7 +75,10 @@ class LayoutContainer extends React.Component {
|
||||
);
|
||||
} else if (loggedIn) {
|
||||
return (
|
||||
<Layout {...this.props}>
|
||||
<Layout
|
||||
handleLogout={logout}
|
||||
{...this.props}
|
||||
>
|
||||
<p>
|
||||
This page is for team use only. Please contact an administrator if
|
||||
you want to join this team.
|
||||
|
||||
Reference in New Issue
Block a user