Skip to content

Commit

Permalink
Merge branch 'master' of github.com:apereo/cas
Browse files Browse the repository at this point in the history
# Conflicts:
#	gradle.properties
  • Loading branch information
mmoayyed committed Nov 10, 2023
2 parents 175c7de + 964430e commit 0abdfaf
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 39 deletions.
4 changes: 2 additions & 2 deletions etc/loadtests/locust/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ gevent==23.9.1
click==8.1.7
geventhttpclient-wheels==1.3.1.dev3
idna==3.4
greenlet==3.0.0
greenlet==3.0.1
Jinja2==3.1.2
itsdangerous==2.1.2
locust==2.17.0
locust==2.18.1
MarkupSafe==2.1.3
msgpack-python==0.5.6
pyzmq==25.1.1
Expand Down
68 changes: 34 additions & 34 deletions support/cas-server-support-palantir/client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion support/cas-server-support-palantir/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.0",
"vite": "^4.4.2",
"vite-plugin-node-polyfills": "^0.15.0"
"vite-plugin-node-polyfills": "^0.16.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,29 @@ screen.oauth.confirm.allow=Permitir
# Unavailable
screen.unavailable.heading=CAS no está disponible
screen.unavailable.message=Hubo un error al intentar cumplir con su petición. Por favor notifique a su soporte técnico o intente otra vez.

##
# MFA
##

# Simple
cas.mfa.simple.email-selection.title=Seleccionar dirección de correo
cas.mfa.simple.email-selection.description=Hemos localizado múltiples cuentas de correo asociadas a su usuario. Por favor \
decida en cual de ellas le gustaría recibir el token de autenticación multifactor.
cas.mfa.simple.pagetitle=CAS Login Autenticación Multifactor
cas.mfa.simple.label.token=Token:
cas.mfa.simple.label.resend=Reenviar
cas.mfa.simple.label.tokensent=Un token de autenticación multifactor le ha sido enviado via correo electrónico o SMS. \
Por favor, localize el token e introdúzcalo aquí para continuar. Nótese que el token caducará en un periodo de tiempo corto \
y dejará de ser reconocido por el CAS, en cuyo caso, puede que necesite solicitar al CAS que le reenvíe un nuevo token.

# Register device
cas.mfa.registerdevice.label.title=Registrar dispositivo
cas.mfa.registerdevice.label.intro=Por favor, ponga un nombre significativo al dispositivo desde el que está accediendo.
cas.mfa.registerdevice.pagetitle=Registrar dispositivo
cas.mfa.registerdevice.label.name=Nombre
cas.mfa.registerdevice.label.duration=¿Por cuanto tiempo deberíamos recordar este dispositivo?
cas.mfa.registerdevice.label.expiration=Caducidad
cas.mfa.registerdevice.button.register=Registrar
cas.mfa.registerdevice.button.skip=Saltar
cas.mfa.registerdevice.options.timeunit.forever=Para siempre
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,11 @@ function jqueryReady() {

let passwordPolicyViolated = val === '' || !policyPatternRegex.test(val);
let passwordMismatch = val !== '' && val !== cnf;
let disableSubmit = passwordPolicyViolated || passwordMismatch;
let result = zxcvbn(val);
let passwordTooWeak = passwordMinimumStrength > result.score;
let disableSubmit = passwordPolicyViolated || passwordMismatch || passwordTooWeak;
$('#submit').prop('disabled', disableSubmit);

let result = zxcvbn(val);
$('#strengthProgressBar').zxcvbnProgressBar({ passwordInput: 'password', bar: bar });

// Check strength, update the text indicator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
3: /*[[#{screen.pm.password.strength.3}]]*/,
4: /*[[#{screen.pm.password.strength.4}]]*/
};
let passwordMinimumStrength = 0;

/*]]>*/

Expand Down

0 comments on commit 0abdfaf

Please sign in to comment.