frigate/web/public/locales
Josh Hawkins 152e585206
Authentication improvements (#21194)
* jwt permissions

* add old password to body req

* add model and migration

need to track the datetime that passwords were changed for the jwt

* auth api backend changes

- use os.open to create jwt secret with restrictive permissions (0o600: read/write for owner only)
- add backend validation for password strength
- add iat claim to jwt so the server can determine when a token was issued and reject any jwts issued before a user's password_changed_at timestamp, ensuring old tokens are invalidated after a password change
- set logout route to public to avoid 401 when logging out
- issue new jwt for users who change their own password so they stay logged in

* improve set password dialog

- add field to verify old password
- add password strength requirements

* frontend tweaks for password dialog

* i18n

* use verify endpoint for existing password verification

avoid /login side effects (creating a new session)

* public logout

* only check if password has changed on jwt refresh

* fix tests

Fix migration 030 by using raw sql to select usernames (avoid ORM selecting nonexistent columns)

* add multi device warning to password dialog

* remove password verification endpoint

Just send old_password + new password in one request, let the backend handle verification in a single operation
2025-12-08 09:02:28 -07:00
..
ab Added translation using Weblate (Abkhazian) 2025-10-29 08:59:49 -06:00
ar Added translation using Weblate (Arabic) 2025-10-29 08:59:49 -06:00
bg Translated using Weblate (Bulgarian) 2025-11-25 07:06:47 -07:00
ca Translated using Weblate (Catalan) 2025-11-25 07:06:47 -07:00
cs Translated using Weblate (Czech) 2025-11-25 07:06:47 -07:00
da Translated using Weblate (Danish) 2025-11-25 07:06:47 -07:00
de Translated using Weblate (German) 2025-11-25 07:06:47 -07:00
el Translated using Weblate (Greek) 2025-11-25 07:06:47 -07:00
en Authentication improvements (#21194) 2025-12-08 09:02:28 -07:00
es Translated using Weblate (Spanish) 2025-11-25 07:06:47 -07:00
fa Translated using Weblate (Persian) 2025-10-29 08:59:49 -06:00
fi Added translation using Weblate (Finnish) 2025-10-29 08:59:49 -06:00
fr Translated using Weblate (French) 2025-11-25 07:06:47 -07:00
gl Added translation using Weblate (Galician) 2025-10-29 08:59:49 -06:00
he Added translation using Weblate (Hebrew) 2025-10-29 08:59:49 -06:00
hi Added translation using Weblate (Hindi) 2025-10-29 08:59:49 -06:00
hr Translated using Weblate (Croatian) 2025-11-25 07:06:47 -07:00
hu Translated using Weblate (Hungarian) 2025-11-25 07:06:47 -07:00
id Translated using Weblate (Indonesian) 2025-11-06 09:33:14 -07:00
it Translated using Weblate (Italian) 2025-11-25 07:06:47 -07:00
ja Translated using Weblate (Japanese) 2025-11-06 09:33:14 -07:00
ko Added translation using Weblate (Korean) 2025-10-29 08:59:49 -06:00
lt Translated using Weblate (Lithuanian) 2025-11-25 07:06:47 -07:00
lv Added translation using Weblate (Latvian) 2025-11-25 07:06:47 -07:00
nb-NO Translated using Weblate (Norwegian Bokmål) 2025-11-25 07:06:47 -07:00
nl Translated using Weblate (Dutch) 2025-11-25 07:06:47 -07:00
peo Added translation using Weblate (Persian (Old)) 2025-10-29 08:59:49 -06:00
pl Translated using Weblate (Polish) 2025-11-25 07:06:47 -07:00
pt Translated using Weblate (Portuguese) 2025-11-06 09:33:14 -07:00
pt-BR Translated using Weblate (Portuguese (Brazil)) 2025-11-25 07:06:47 -07:00
ro Translated using Weblate (Romanian) 2025-11-25 07:06:47 -07:00
ru Translated using Weblate (Russian) 2025-11-25 07:06:47 -07:00
sk Translated using Weblate (Slovak) 2025-11-25 07:06:47 -07:00
sl Translated using Weblate (Slovenian) 2025-11-25 07:06:47 -07:00
sr Added translation using Weblate (Serbian) 2025-10-29 08:59:49 -06:00
sv Translated using Weblate (Swedish) 2025-11-25 07:06:47 -07:00
ta Added translation using Weblate (Tamil) 2025-10-29 08:59:49 -06:00
th Added translation using Weblate (Thai) 2025-10-29 08:59:49 -06:00
tr Translated using Weblate (Turkish) 2025-11-25 07:06:47 -07:00
uk Translated using Weblate (Ukrainian) 2025-11-25 07:06:47 -07:00
ur Added translation using Weblate (Urdu) 2025-10-29 08:59:49 -06:00
vi Translated using Weblate (Vietnamese) 2025-11-06 09:33:14 -07:00
yue-Hant Fix weblate incorrect state 2025-11-06 09:33:14 -07:00
zh-CN Translated using Weblate (Chinese (Simplified Han script)) 2025-11-25 07:06:47 -07:00
zh-Hant Fix weblate incorrect state 2025-11-06 09:33:14 -07:00