mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 10:44:23 +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:
@@ -953,6 +953,11 @@ const admin: TranslationStrings = {
|
||||
'ปิดการรับรองความถูกต้องด้วยสองปัจจัยของผู้ใช้รายนี้ เช่น หลังโทรศัพท์หาย ผู้ใช้จะถูกออกจากระบบทุกที่ และตั้งค่าใหม่ได้หลังเข้าสู่ระบบด้วยรหัสผ่าน',
|
||||
'admin.mfa.resetConfirm': 'ปิดการรับรองความถูกต้องด้วยสองปัจจัยของ {name} หรือไม่',
|
||||
'admin.mfa.resetDone': 'รีเซ็ตการรับรองความถูกต้องด้วยสองปัจจัยแล้ว',
|
||||
'admin.sso.unlink': 'ยกเลิกการเชื่อมโยง SSO',
|
||||
'admin.sso.unlinkHint':
|
||||
'ล้างข้อมูลว่าการเข้าสู่ระบบใดที่ผู้ให้บริการ SSO เป็นของบัญชีนี้ เช่น หลังผู้ให้บริการเปลี่ยนรหัสผู้ใช้ การเข้าสู่ระบบ SSO ครั้งถัดไปด้วยอีเมลที่ยืนยันแล้วจะเชื่อมโยงบัญชีอีกครั้ง',
|
||||
'admin.sso.unlinkConfirm': 'ยกเลิกการเชื่อมโยง SSO ของ {name} หรือไม่',
|
||||
'admin.sso.unlinkDone': 'ยกเลิกการเชื่อมโยง SSO แล้ว',
|
||||
'admin.danger.title': 'โซนอันตราย',
|
||||
'admin.rotateJwt.title': 'หมุนเวียนรหัสลับ JWT',
|
||||
'admin.rotateJwt.hint': 'สร้างรหัสลับสำหรับลงนาม JWT ใหม่ เซสชันที่ใช้งานอยู่ทั้งหมดจะถูกยกเลิกทันที',
|
||||
|
||||
Reference in New Issue
Block a user