# login_rules · FT4 Rell API · Chromia Docs (concept)

> function login_ rules(rules_ list: list< rule_expression >): gtv Converts a list of rule_expression to a complex rule that can be used inside an auth
descr

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.auth/login_rules/

FUNCTION

# login\_rules

```signature
function login_rules(rules_list: list<rule_expression>): gtv
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/auth/login.rell#lines-107)

Converts a list of `rule_expression` to a complex rule that can be used inside an auth
descriptor's `rules` field

Throws `"EMPTY RULES"` if the `rules_list` is empty

**Parameters**

* **rules\_list** — the list of rules to convert

**See Also**

* `core.accounts.rule_expression` — for more information on auth descriptor rules.

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.core.auth/login_rules.html)Generated API reference, mirrored from the live docs
