mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
[FR] Enable restrictions on allowed domains for signup (#4172)
* [FR] Enable restrictions on allowed domains for signup Fixes #4168 * raise permission errors * add setting to page * move checks to clean_email * remove unneeded check * simplify * log error to database * factor settings fnc call out * Add validation before setting save * add before_save to accepted tokens
This commit is contained in:
@ -30,6 +30,7 @@
|
||||
{% include "InvenTree/settings/setting.html" with key="LOGIN_SIGNUP_MAIL_TWICE" icon="fa-at" %}
|
||||
{% include "InvenTree/settings/setting.html" with key="LOGIN_SIGNUP_PWD_TWICE" icon="fa-user-lock" %}
|
||||
{% include "InvenTree/settings/setting.html" with key="SIGNUP_GROUP" icon="fa-users" %}
|
||||
{% include "InvenTree/settings/setting.html" with key="LOGIN_SIGNUP_MAIL_RESTRICTION" icon="fa-sitemap" %}
|
||||
<tr>
|
||||
<th><h5>{% trans 'Single Sign On' %}</h5></th>
|
||||
<td colspan='4'></td>
|
||||
|
Reference in New Issue
Block a user