> For the complete documentation index, see [llms.txt](https://gift.icbest.ca/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gift.icbest.ca/features/login.md).

# Login

* Passwords are stored using `Argon2id` .
* Compare the hashed password and username (NOT case-sensitive) against entries in `users.json`.
* The `login.html` template show a banner with the instruction you entered at [Login Settings](/settings/login-settings.md). Will show errors messages if <mark style="color:red;">User does not exist</mark> or <mark style="color:red;">Wrong password</mark>.
* If an OIDC token is present in the .env there will be an OIDC button on the page.
* **Self-registration** is available in Advanced Settings. You can set a joining code that users must enter for their registration to be accepted. Leave the field blank if no code is required. A button will appear so people can self-register.
* **Guest users** will have a button appear so they can login using only a password.
