mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 02:34:21 +00:00
feat(admin): remove the SSO link of an account whose provider changed its subject
A sign-in with another subject of the same provider is refused, so an account whose provider re-issued the subject (a migrated or rebuilt IdP, a changed sub format) was locked out: editing the email, as the wiki advised, never touched the stored link. The edit dialog now offers "Remove SSO link" for other accounts while SSO is set up (DELETE /api/admin/users/:id/sso, audit admin.user_sso_unlink). The next SSO sign-in links again under the rules of a first one, so it still needs a verified, not self-set email. The log line names the remedy, and the wiki tells the two refusals apart. Fixes #3065
This commit is contained in:
@@ -1018,6 +1018,11 @@ const admin: TranslationStrings = {
|
||||
"Desactiva l'autenticació de dos factors d'aquest usuari, per exemple després de perdre el telèfon. Es tanca la seva sessió a tot arreu i podrà tornar-la a configurar després d'iniciar sessió amb la contrasenya.",
|
||||
'admin.mfa.resetConfirm': "Vols desactivar l'autenticació de dos factors de {name}?",
|
||||
'admin.mfa.resetDone': 'Autenticació de dos factors restablerta',
|
||||
'admin.sso.unlink': "Elimina l'enllaç SSO",
|
||||
'admin.sso.unlinkHint':
|
||||
"Oblida quin inici de sessió del teu proveïdor SSO pertany a aquest compte, per exemple després que el proveïdor hagi canviat els identificadors d'usuari. El següent inici de sessió SSO amb una adreça confirmada torna a enllaçar el compte.",
|
||||
'admin.sso.unlinkConfirm': "Vols eliminar l'enllaç SSO de {name}?",
|
||||
'admin.sso.unlinkDone': 'Enllaç SSO eliminat',
|
||||
'admin.danger.title': 'Zona de perill',
|
||||
'admin.rotateJwt.title': 'Rota el secret JWT',
|
||||
'admin.rotateJwt.hint':
|
||||
|
||||
Reference in New Issue
Block a user