Drop custom_login_link and custom_logout_link

This commit is contained in:
djmaze 2020-08-24 11:17:42 +02:00
parent 31bb7267ec
commit 89395d5ae4
4 changed files with 7 additions and 27 deletions

View file

@ -919,19 +919,7 @@ class AppUser extends AbstractApp {
bootstartLoginScreen() {
$htmlCL.remove('rl-user-auth');
$htmlCL.add('rl-user-no-auth');
const customLoginLink = pString(Settings.appSettingsGet('customLoginLink'));
if (!customLoginLink) {
startScreens([LoginUserScreen]);
} else {
routeOff();
setHash(root(), true);
routeOff();
setTimeout(() =>
location.href = customLoginLink
, 1);
}
startScreens([LoginUserScreen]);
}
bootend() {