first_boot: de-bloat first welcome screen, #830

This commit is contained in:
Johannes Keyser 2017-05-06 17:08:31 +01:00 committed by James Valleroy
parent 4b01c99ac4
commit 2ad579dbb2
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 2 additions and 8 deletions

View File

@ -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>

View File

@ -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.'))