Univention Bugzilla – Bug 50609
Make "How do I login?" in login configurable
Last modified: 2020-06-11 09:16:52 CEST
Below the UMC login box there are 2-3 links, depending on whether it's a SAML login. Among them is "How do I login?" This link should be configurable. One should be able to change persistently at least: - Whether the link is shown (enable/disable) - Where link exactly leads to (Linking to any URL should be possible)
Created attachment 10279 [details] Hide "How do I login" in UMC login As requested, here is my very simple patch for a customer who needs this (specifically hiding the link).
fdb2a9db6d Bug #50609: yaml b1f087407c Bug #50609: Merge branch 'jkeiser/4.4-3/login_links_ucr' into 4.4-3 6c17f53a1a Bug #50609: yaml 6059921d5c Bug #50609: debian changelog 94ad61cbf8 Bug #50609: fix Tooltip eating click event on links e747018bd6 Bug #50609: login links can be added via ucr I added the function login/dialog.addLinkFromUcr(name, defaults) If a link is added with this function then the corresponding ucr variables umc/login/links/{name}/enabled umc/login/links/{name}/text umc/login/links/{name}/text/{locale} umc/login/links/{name}/href umc/login/links/{name}/href/{locale} umc/login/links/{name}/tooltip umc/login/links/{name}/tooltip/{locale} umc/login/links/{name}/target can be used to edit the link (and overwrite possible defaults defined in javascript) ---- The "How do I login?" link is now added via addLinkFromUcr('how_do_i_login') and can therefore be modified via umc/login/links/how_do_i_login/.*
We discussed UCR Variable descriptions and decided to change it for readability.
Functionality has been tested for all ucr-variables listed below: umc/login/links/{name}/enabled umc/login/links/{name}/text umc/login/links/{name}/text/{locale} umc/login/links/{name}/href umc/login/links/{name}/href/{locale} umc/login/links/{name}/tooltip umc/login/links/{name}/tooltip/{locale} umc/login/links/{name}/target Tested for all three possible names: "forgot_your_password", "login_without_sso" and "how_do_i_login". Everything works as intended.
f0e21e9b93 Bug #50609: yaml d60280bdb7 Bug #50609: debian changelog 2fd9566972 Bug #50609: change ucr variable description Successful build Package: univention-management-console Version: 11.0.4-55A~4.4.0.202002101402
Functionality of all the Variables tested by ccastens : OK yaml: OK variable description: OK -> Verified
<http://errata.software-univention.de/ucs/4.4/442.html>