mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
first_boot: de-bloat first welcome screen, #830
This commit is contained in:
parent
4b01c99ac4
commit
2ad579dbb2
@ -30,15 +30,13 @@
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
{% blocktrans trimmed %}
|
{% blocktrans trimmed %}
|
||||||
{{ box_name }} setup is now complete. To make your {{ box_name }}
|
Without any apps, your {{ box_name }} is dull.
|
||||||
functional, you need some applications. They will be installed
|
|
||||||
the first time you access them.
|
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<a class="btn btn-lg btn-primary" href="{% url 'apps' %}">
|
<a class="btn btn-lg btn-primary" href="{% url 'apps' %}">
|
||||||
{% trans "Go to Apps" %}</a>
|
{% trans "Go install apps!" %}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3>{% trans "Current Network Configuration" %}</h3>
|
<h3>{% trans "Current Network Configuration" %}</h3>
|
||||||
|
|||||||
@ -281,10 +281,6 @@ class FirstBootForm(ValidNewUsernameCheckMixin, auth.forms.UserCreationForm):
|
|||||||
# Restrict console login to users in admin or sudo group
|
# Restrict console login to users in admin or sudo group
|
||||||
try:
|
try:
|
||||||
set_restricted_access(True)
|
set_restricted_access(True)
|
||||||
message = _('Console login access restricted to users in '
|
|
||||||
'"admin" group. This can be configured in '
|
|
||||||
'security settings.')
|
|
||||||
messages.success(self.request, message)
|
|
||||||
except Exception:
|
except Exception:
|
||||||
messages.error(self.request,
|
messages.error(self.request,
|
||||||
_('Failed to restrict console access.'))
|
_('Failed to restrict console access.'))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user