Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| radius:login_settings [2024/02/13 08:19] – created system | radius:login_settings [2024/02/13 15:18] (current) – [User Registration With Top-Up Profile] system | ||
|---|---|---|---|
| Line 28: | Line 28: | ||
| * This function is useful for sites where a permanent user registers by entering their email address and password. | * This function is useful for sites where a permanent user registers by entering their email address and password. | ||
| * When the permanent user is created (provided the settings on the realm are so), a suffix is added. | * When the permanent user is created (provided the settings on the realm are so), a suffix is added. | ||
| + | <panel type=" | ||
| {{: | {{: | ||
| - | + | </ | |
| - | * Thus you will have a username like dirk@gmail.com@our_internet_cafe. | + | * This will give you a username like dirk@gmail.com@our_internet_cafe. |
| - | * Specifying | + | * If you specify |
| + | <panel type=" | ||
| {{: | {{: | ||
| - | | + | </ |
| + | | ||
| ===== Sending Email ===== | ===== Sending Email ===== | ||
| - | * There are two places where the system can send the user an email through | + | * There are two places where the system can send the user an email via a login page. |
| - | * The Lost Password | + | * The lost password |
| - | * The User Registration | + | * The User registration |
| - | * Remember | + | * Remember |
| + | <panel type=" | ||
| {{: | {{: | ||
| + | </ | ||
| ===== T&C URL ===== | ===== T&C URL ===== | ||
| - | * For T&C you can specify a URL | + | * You can specify a URL for T&C |
| - | * Remember if this URL is located | + | * Remember, if this URL is on a different |
| - | ===== Show Usage ===== | + | ===== Show usage ===== |
| - | * There is an option | + | * There is an option |
| * This is handy for a voucher based system or a system that uses permanent users with top-ups. | * This is handy for a voucher based system or a system that uses permanent users with top-ups. | ||
| + | <panel type=" | ||
| {{: | {{: | ||
| + | </ | ||
| ===== Support for Arabic ===== | ===== Support for Arabic ===== | ||
| * Support for Arabic is now also included. | * Support for Arabic is now also included. | ||
| - | * There are however a small tweak you should | + | * However, there is one small change |
| - | * Edit the / | + | * Edit the page /// |
| - | * Remove the default Bootstrap 5 Stylesheet. | + | * Remove the default Bootstrap 5 stylesheet. |
| <code html> | <code html> | ||
| < | < | ||
| < | < | ||
| </ | </ | ||
| - | * Activate the inclusion of it in JavaScript (towards | + | * Activate the inclusion of it in JavaScript (at the bottom of the index.html page) |
| <code javascript> | <code javascript> | ||
| if(i18n == ' | if(i18n == ' | ||
| Line 74: | Line 78: | ||
| }).appendTo(' | }).appendTo(' | ||
| }else{ | }else{ | ||
| - | //Normal Stylesheet (if you did comment | + | //Normal Stylesheet (if you have commented |
| | | ||
| $('< | $('< | ||
| Line 84: | Line 88: | ||
| } | } | ||
| </ | </ | ||
| - | * This tweak will allow the RTL and normal stylesheet to co-exist thus allowing | + | * This tweak allows |
| - | * Not doing the tweak will have a restricted | + | * If you do not perform this tweak, RTL styling |
| ===== User Registration With Top-Up Profile ===== | ===== User Registration With Top-Up Profile ===== | ||
| - | * When you enable user registration for a login page you have to specify the **Realm** | + | * When you enable user registration for a login page, you must specify the realm and profile to which the newly registered user will belong. |
| - | * One popular option is to choose a Data Top-Up type of profile. | + | * A popular option is to choose a profile of the Data Top-Up type. |
| - | * If you choose such a profile it is very important to give the user its first Top-Up value in order to impose a limit to the data the user can use. | + | * If you choose such a profile, it is very important to assign an initial top-up value to the user in order to limit the data that the user can use. |
| + | |||
| + | <alert type=" | ||
| - | <WRAP center round important 90%> | + | If you do not specify |
| - | Not adding | + | </alert> |
| - | </WRAP> | + | * The file **/ |
| - | * The **/ | + | * Simply change **$add_topup = true;** and specify the value of the first top-up |
| - | * Simply change **$add_topup = true;** and specify the value of the initial Top-Up | + | |
| <code php> | <code php> | ||
| // | // | ||
| Line 124: | Line 129: | ||
| - | ===== CoovaChilli | + | ===== CoovaChilli-specific settings |
| - | * As of June 2022 we added two options | + | * As of June 2022, we have added two options |
| - | * The one can specify | + | * One allows you to specify |
| * The other option is to use **CHAP** instead of PAP. | * The other option is to use **CHAP** instead of PAP. | ||
| - | ==== JSON Interface | + | ==== Complications |
| - | * When you serve the Login Page from public | + | * If you are serving |
| - | * For this then to work you need configure Coova to include HTTPS support. (Port 4990) | + | * For this to work, you need to configure Coova to support |
| - | * Not all Coova Chilli | + | * Not all Coova Chili instances |
| - | * When we specify | + | * If we specify |
| - | * There is however | + | * However, there is a trade-off |
| - | * Use this option for devices | + | * Use this option for devices |
| ==== Using CHAP instead of PAP ==== | ==== Using CHAP instead of PAP ==== | ||
| - | * Coova Chilli typically | + | * Coova Chili normally |
| - | * For this to work it uses a UAM service with a UAM secret to encrypt the password. | + | * For this to work, it uses a UAM service with a UAM secret to encrypt the password. |
| - | * We can also opt to use CHAP instead | + | * You can also choose |
| - | * For this to work correct | + | * For this to work correctly, |
| - | <WRAP center round important 90%> | + | <alert type=" |
| - | When you choose | + | If you decide |
| - | </WRAP> | + | </alert> |
| - | * MESHdesk and APdesk now also allow you to leave the UAM Secret out in its configuration. | + | * For MESHdesk and APdesk, you can now also omit the UAM secret |
| - | * Also make sure your MESHdesk firmware on OpenWrt is the latest that includes this support. | + | * Also make sure that your MESHdesk firmware on OpenWrt is the latest |
| {{: | {{: | ||
| - | * This then brings us to the end of the discussion on the settings. | + | * This brings us to the end of the discussion on settings. |
| - | * Be sure to check out the other Wiki Pages that will cover other aspects of the Login Pages. | + | * Be sure to check out the other wiki pages that cover other aspects of login pages. |