> ## Documentation Index
> Fetch the complete documentation index at: https://docs.azvian.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Settings and team

> Company details and logo, email, spam protection, your team, and your own account

Settings are for administrators. Open **Settings** in the menu; the tabs along the top are **Company**, **Email**, **Spam protection**, **Security**, **License**, **System**, **Backups** and **Updates**.

## Company and logo

**Settings → Company** holds the details used in the app and in emails: company name, email, phone, address, website, **time zone**, **date format** and **currency**.

### Company logo

Upload a **PNG or JPG up to 1 MB** (a PNG with a transparent background looks best). It appears:

* in the menu, and in the top bar on phones;
* on the staff sign-in page;
* on the pages affiliates use (the sign-up page and their account page);
* at the top of every email your affiliates receive.

> [!NOTE]
>
> Showing the logo in these places arrived in version **0.3.3**. Older versions accept the upload but display it nowhere.

Without a logo, your company name is shown instead. Choose **Remove the current logo** to go back. When you replace the logo, the new one shows straight away. SVG files are not accepted, because they can carry scripts.

Emails also use your company name in the footer and sign-off.

The **staff sign-in page** (and the invitation, two-factor and password-reset pages) shows your logo, or your company name if you have no logo, and the browser tab reads "Sign in · your company". To change what it says, change the **Company name** here. Only the installer, which runs before you have a company name, shows the product name. This applies from version **0.3.4**; earlier versions show "Azvian Affiliate Manager" on that page.

## Email

**Settings → Email**: enter your SMTP details (**SMTP host**, **Port**, **Username**, **Password**, **From address**, **From name**) and use the **Send to** box to send a test message. The password is stored encrypted and is never shown again.

Applications, approvals, affiliate sign-in links, payment notices and team invitations all use this account. Until you set it up, nothing is delivered.

## Spam protection

If bots start filling in your sign-up page, turn on Google's "I'm not a robot" checkbox under **Settings → Spam protection**.

**1. Get a key pair**

Create a free key pair at [google.com/recaptcha/admin](https://www.google.com/recaptcha/admin) and choose **reCAPTCHA v2**, type **"I'm not a robot" Checkbox**. Only this type works: **v3, Invisible and Enterprise keys do not**, and with them the box never appears. The page in the app walks you through it.

**2. Enter the keys**

Paste the **Site key** and **Secret key**. The secret is stored encrypted and never shown again; leaving the field empty later keeps the saved one.

**3. Choose what it protects**

Switch it on for any of these pages (all are ticked by default except the staff sign-in): the **sign-up page**, the **affiliate sign-in page**, the **forgot-password and reset-password pages**, the **team invitation page**, and the **staff sign-in page** (the `/login` page your team uses, off until you tick it).

**4. Check it**

Open your sign-up page in a private window and confirm the checkbox appears.

Once a site key is saved, the page draws a **preview** of the checkbox so you can see whether your keys work before you turn anything on:

* You see "I'm not a robot": the key is right.
* You see "Invalid key type": it is a v3, Invisible or Enterprise key. Create a new v2 Checkbox key.
* You see "Invalid domain": add your domain to the key's domains in Google's console.

> [!NOTE]
>
> The staff sign-in option arrived in version **0.3.6**, and so did the preview. The password-reset and invitation pages were added in **0.3.9**. Earlier versions protect only the sign-up page and the affiliate sign-in page, so no checkbox appears on `/login`.

> [!WARNING]
>
> Tick the staff sign-in page only after the preview shows the checkbox. If you are ever locked out, add `CAPTCHA_STAFF_LOGIN=false` to your `.env` file and every page your team uses (staff sign-in, password reset and invitation) stops asking for it.

If Google cannot be reached, or rejects your secret key, visitors are **let through** and the dashboard tells you, so a typo never closes your sign-up page. A hidden trap field and rate limits work whether or not you turn the checkbox on.

## Security

> [!NOTE]
>
> Required two-factor authentication for administrators arrived in version **0.3.8**.

**Settings → Security** makes two-factor authentication **mandatory for administrators**, who can see and pay out money and change every setting.

* **Require two-factor authentication for administrators** is on by default.
* **Grace period (days)** is the time to set it up before access stops: 7 by default, 0 to 60. It counts from the day you upgrade for current administrators, and from the day the account is created for new ones.
* During the grace period an administrator works normally and sees a reminder on every page. After it, they can only reach their **profile**, where they turn it on with an authenticator app (Google Authenticator, 1Password, Authy and similar), and sign out.
* The tab lists every administrator and whether two-factor is on, or by when it must be.
* **Members** are never forced, but anyone can turn it on from their own profile.

If an administrator loses their phone, another administrator can press **Reset 2FA** for them on the **Team** page; they are then asked to set it up again. If nobody can sign in, add `REQUIRE_ADMIN_2FA=false` to your `.env` file to switch the rule off for the whole installation, and remove the line again afterwards.

## License

**Settings → License**: activate your key, check it now, or remove it from this site to use it elsewhere. See [Buying and licenses](https://docs.azvian.com/start/buying-and-licenses.md).

## System

**Settings → System** shows whether the **cron job** is running (and when it last ran), the **background queue**, the exact cron command for your install, and a secret **web cron URL** for hosts without a cron page. **Generate a new URL** replaces it; the old one stops working. The bottom of the page lists details about your installation (versions and server) that are useful when you contact support.

## Backups

See [Backups](https://docs.azvian.com/affiliate-manager/backups.md).

## Updates

See [Updating](https://docs.azvian.com/affiliate-manager/updating.md).

## Your team

**Team** (administrators only) is where you invite colleagues.

1. Enter a name, email and role (**Member** or **Admin**) under **Invite a team member** and press **Send invitation**.
2. They receive an email with a link to choose their password. **Resend invite** sends it again.
3. A **Member** works with affiliates, referrals and reports. An **Admin** can also manage programs, payouts, creatives, integrations, the team and settings.
4. Set a person to **Deactivated** to stop them signing in without deleting their history.
5. **Reset 2FA** removes someone's two-factor setup if they lose their device.

## Your own account

Click your name at the bottom of the menu (in versions before 0.3.1, at the top right) to open your profile: change your details and password, and turn on **two-factor authentication** (an authenticator app), which is strongly recommended for administrators.

The **Activity log** (administrators) records who did what: sign-ins, setting changes, payouts and updates.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.