Commit fba23bf1 authored by Geoffrey Preud'homme's avatar Geoffrey Preud'homme 🐸
Browse files

Fix english text in Russian TOTP problem

For now we don't want to translate the Password problem strings,
so we hide the password checker for Russian, which is here more as a
bonus anyway.
Revert this commit once we translate the Password problem in Russian.
parent 82fb062f
......@@ -267,7 +267,12 @@ html
var inputElement = document.getElementById("password");
var showHints = true;
var debug = #{debug};
pwcheck(inputElement, showHints, debug);
// Skipping the check where the password problem is untranslated
if ('#{locale}' != 'ru') {
pwcheck(inputElement, showHints, debug);
} else {
$(inputElement).addClass('pwcheck-passed');
}
script(type="text/javascript").
var challenge;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment