mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-18 06:03:54 +03:00
Fixed a couple bugs with authenticators left behind in tests
This commit is contained in:
parent
9045989186
commit
de80b26880
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
@author: Adolfo Gómez, dkmaster at dkmon dot com
|
@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 django.utils.translation import ugettext_noop as _
|
||||||
from uds.core.ui.UserInterface import gui
|
from uds.core.ui.UserInterface import gui
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
if( standard.length > 0 ) {
|
if( standard.length > 0 ) {
|
||||||
$('#backToLogin').click(function() {
|
$('#backToLogin').click(function() {
|
||||||
$('#id_authenticator').val(standard[0]);
|
$('#id_authenticator').val(standard[0]);
|
||||||
|
$('.selectpicker').selectpicker('render');
|
||||||
$('#nonStandard').hide(300, function() {
|
$('#nonStandard').hide(300, function() {
|
||||||
$('#nonStandardLogin').html('');
|
$('#nonStandardLogin').html('');
|
||||||
$("#login").show(300);
|
$("#login").show(300);
|
||||||
@ -104,4 +105,4 @@
|
|||||||
{% endautoescape %}
|
{% endautoescape %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user