mirror of https://github.com/rancher/dashboard.git
add loadPLugins method to ldap login interface (#13501)
This commit is contained in:
parent
bc66cc6835
commit
f13e7c25ca
|
|
@ -2,6 +2,7 @@
|
||||||
import { LabeledInput } from '@components/Form/LabeledInput';
|
import { LabeledInput } from '@components/Form/LabeledInput';
|
||||||
import AsyncButton from '@shell/components/AsyncButton';
|
import AsyncButton from '@shell/components/AsyncButton';
|
||||||
import Login from '@shell/mixins/login';
|
import Login from '@shell/mixins/login';
|
||||||
|
import loadPlugins from '@shell/plugins/plugin';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
emits: ['error', 'showInputs'],
|
emits: ['error', 'showInputs'],
|
||||||
|
|
@ -32,6 +33,12 @@ export default {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
await loadPlugins({
|
||||||
|
app: this.$store.app,
|
||||||
|
store: this.$store,
|
||||||
|
$plugin: this.$store.$plugin
|
||||||
|
});
|
||||||
|
|
||||||
buttonCb(true);
|
buttonCb(true);
|
||||||
this.$router.replace('/');
|
this.$router.replace('/');
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue