From de80b268808d3d5eda37bd3b52d00bc82984b798 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez?= Date: Mon, 28 Apr 2014 15:30:12 +0000 Subject: [PATCH] Fixed a couple bugs with authenticators left behind in tests --- server/src/uds/auths/RegexLdap/Authenticator.py | 2 +- server/src/uds/templates/uds/html5/login.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/server/src/uds/auths/RegexLdap/Authenticator.py b/server/src/uds/auths/RegexLdap/Authenticator.py index 94c61a848..5866b4ee2 100644 --- a/server/src/uds/auths/RegexLdap/Authenticator.py +++ b/server/src/uds/auths/RegexLdap/Authenticator.py @@ -32,7 +32,7 @@ @author: Adolfo Gómez, dkmaster at dkmon dot com ''' -from __future__ import unicode_literals +# from __future__ import unicode_literals from django.utils.translation import ugettext_noop as _ from uds.core.ui.UserInterface import gui diff --git a/server/src/uds/templates/uds/html5/login.html b/server/src/uds/templates/uds/html5/login.html index b0ef6a8ad..4f7ce9014 100644 --- a/server/src/uds/templates/uds/html5/login.html +++ b/server/src/uds/templates/uds/html5/login.html @@ -45,6 +45,7 @@ if( standard.length > 0 ) { $('#backToLogin').click(function() { $('#id_authenticator').val(standard[0]); + $('.selectpicker').selectpicker('render'); $('#nonStandard').hide(300, function() { $('#nonStandardLogin').html(''); $("#login").show(300); @@ -104,4 +105,4 @@ {% endautoescape %} -{% endblock %} \ No newline at end of file +{% endblock %}