mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2026-01-09 21:51:40 +00:00
19 lines
486 B
JavaScript
19 lines
486 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import { create, visitable } from 'ember-cli-page-object';
|
|
import backendForm from '../../components/mount-backend-form';
|
|
import flashMessages from '../../components/flash-message';
|
|
|
|
export default create({
|
|
visit: visitable('/vault/settings/auth/enable'),
|
|
...backendForm,
|
|
flash: flashMessages,
|
|
enable: async function (type, path) {
|
|
await this.visit();
|
|
await this.mount(type, path);
|
|
},
|
|
});
|