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:
Hornwitser committed 2021-03-13 21:01:53 +01:00
1 parent 579f6421e4
commit ceae2b25b5
3 files changed
+66 -13

No files matched your search

+1 -4
View File
@@ -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>;
}