mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 23:33:12 +09:00
Make the login form pluggable
Allow extending the login form with additional authentication methods by adding them to the web plugin's loginForms array.
This commit is contained in:
1 parent
579f6421e4
commit
ceae2b25b5
3 files changed
+66
-13
No files matched your search
@@ -81,10 +81,7 @@ export default function App(props) {
|
||||
|
||||
} else {
|
||||
page = <div className="login-container">
|
||||
<Card>
|
||||
<h1>Clusterio</h1>
|
||||
<LoginForm setToken={setToken} />
|
||||
</Card>
|
||||
<LoginForm setToken={setToken} />
|
||||
</div>;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user