mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
9dab40c2ce
In order to simplify the deployment of Authelia for testing, LDAP is now optional made optional thanks to users database stored in a file. One can update the file manually even while Authelia is running. With this feature the minimal configuration requires only two components: Authelia and nginx. The users database is obviously made for development environments only as it prevents Authelia to be scaled to more than one instance. Note: Configuration has been updated. Key `ldap` has been nested in `authentication_backend`.
10 lines
297 B
TypeScript
10 lines
297 B
TypeScript
import SeleniumWebdriver = require("selenium-webdriver");
|
|
|
|
export default function(driver: any, linkText: string) {
|
|
return driver.wait(
|
|
SeleniumWebdriver.until.elementLocated(
|
|
SeleniumWebdriver.By.linkText(linkText)), 5000)
|
|
.then(function (el) {
|
|
return el.click();
|
|
});
|
|
}; |