lemonldap-ng/doc/sources/admin/autosignin.rst

24 lines
698 B
ReStructuredText
Raw Permalink Normal View History

2020-05-14 23:29:41 +02:00
Auto Signin Addon
=================
2020-05-20 23:41:40 +02:00
Auto-Signin plugin provides an easy way to bypass authentication process
2020-05-14 23:29:41 +02:00
based on rules. For example, a TV can be automatically authenticated by
its IP address.
Configuration
-------------
2020-05-20 23:41:40 +02:00
This add-on is automatically enabled if a rule is defined. A rule links
rule to an username. The only availble variable here is ``$env``. Example:
2020-05-14 23:29:41 +02:00
============== ===========================================
Key (username) Rule
============== ===========================================
dwho ''$env->{REMOTE_ADDR} eq '192.168.42.42' ''
============== ===========================================
2020-05-21 15:13:24 +02:00
.. attention::
2020-05-14 23:29:41 +02:00
2020-05-20 23:41:40 +02:00
Username must be defined in users database.