mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-18 08:33:41 +00:00
first_boot: de-bloat first welcome screen, #830
This commit is contained in:
parent
4b01c99ac4
commit
2ad579dbb2
@ -30,15 +30,13 @@
|
||||
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
{{ box_name }} setup is now complete. To make your {{ box_name }}
|
||||
functional, you need some applications. They will be installed
|
||||
the first time you access them.
|
||||
Without any apps, your {{ box_name }} is dull.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<div class="text-center">
|
||||
<a class="btn btn-lg btn-primary" href="{% url 'apps' %}">
|
||||
{% trans "Go to Apps" %}</a>
|
||||
{% trans "Go install apps!" %}</a>
|
||||
</div>
|
||||
|
||||
<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
|
||||
try:
|
||||
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:
|
||||
messages.error(self.request,
|
||||
_('Failed to restrict console access.'))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user