first_boot: de-bloat first welcome screen, #830

This commit is contained in:
Johannes Keyser authored and James Valleroy committed 2017-05-16 00:23:00 -04:00
1 parent 4b01c99ac4
commit 2ad579dbb2
2 files changed
+2 -8

No files matched your search

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