mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
81207b49ad
When no default redirection url was set, Duo push second factor was shown as failing even if authentication was successful.
15 lines
544 B
TypeScript
15 lines
544 B
TypeScript
import AutheliaSuite from "../../helpers/context/AutheliaSuite";
|
|
import { exec } from '../../helpers/utils/exec';
|
|
import BypassPolicy from "./scenarii/BypassPolicy";
|
|
import NoDefaultRedirectionUrl from "./scenarii/NoDefaultRedirectionUrl";
|
|
|
|
AutheliaSuite(__dirname, function() {
|
|
this.timeout(10000);
|
|
|
|
beforeEach(async function() {
|
|
await exec(`cp ${__dirname}/users_database.yml ${__dirname}/users_database.test.yml`);
|
|
});
|
|
|
|
describe('Bypass policy', BypassPolicy);
|
|
describe("No default redirection", NoDefaultRedirectionUrl);
|
|
}); |