saging is case insensitive, on any position.
This commit is contained in:
parent
35ebb753a7
commit
148dd165d1
@ -1180,7 +1180,7 @@
|
||||
if (isQR) {
|
||||
$('#error').textContent = '';
|
||||
}
|
||||
qr.sage = $('input[name=email]', form).value === 'sage';
|
||||
qr.sage = /sage/i.test($('input[name=email]', form).value);
|
||||
if (isQR) {
|
||||
return qr.autohide.set();
|
||||
}
|
||||
|
||||
@ -922,7 +922,7 @@ qr =
|
||||
if isQR
|
||||
$('#error').textContent = ''
|
||||
|
||||
qr.sage = $('input[name=email]', form).value == 'sage'
|
||||
qr.sage = /sage/i.test $('input[name=email]', form).value
|
||||
if isQR
|
||||
qr.autohide.set()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user