1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-08-24 17:49:28 +03:00

M #~: Trimming login values (#4743)

This commit is contained in:
Sergio Betanzos
2020-05-18 13:21:50 +02:00
committed by GitHub
parent c3ff6e6d45
commit e269d5d7a5

View File

@ -109,8 +109,8 @@ define(function(require) {
}
function authenticate(publicKeyCredential) {
var username = $("#username").val();
var password = $("#password").val();
var username = $.trim($("#username").val());
var password = $.trim($("#password").val());
var remember = $("#check_remember").is(":checked");
var two_factor_auth_token;
var error_callback;