1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 09:04:26 +00:00
gitea/options/locale
Lanre Adelowo 126ba796dc Force user to change password (#4489)
* redirect to login page after successfully activating account

* force users to change password if account was created by an admin

* force users to change password if account was created by an admin

* fixed build

* fixed build

* fix pending issues with translation and wrong routes

* make sure path check is safe

* remove unneccessary newline

* make sure users that don't have to view the form get redirected

* move route to use /settings prefix so as to make sure unauthenticated users can't view the page

* update as per @lafriks review

* add necessary comment

* remove unrelated changes

* support redirecting to location the user actually want to go to before being forced to change his/her password

* run make fmt

* added tests

* improve assertions

* add assertion

* fix copyright year

Signed-off-by: Lanre Adelowo <yo@lanre.wtf>
2018-09-13 15:04:25 +03:00
..
locale_bg-BG.ini [skip ci] Updated translations via Crowdin 2018-08-29 13:46:42 +00:00
locale_cs-CZ.ini [skip ci] Updated translations via Crowdin 2018-08-29 13:46:42 +00:00
locale_de-DE.ini [skip ci] Updated translations via Crowdin 2018-09-11 18:55:32 +00:00
locale_en-US.ini Force user to change password (#4489) 2018-09-13 15:04:25 +03:00
locale_es-ES.ini [skip ci] Updated translations via Crowdin 2018-09-11 18:55:32 +00:00
locale_fa-IR.ini [skip ci] Updated translations via Crowdin 2018-09-11 14:44:00 +00:00
locale_fi-FI.ini [skip ci] Updated translations via Crowdin 2018-09-11 18:55:32 +00:00
locale_fr-FR.ini [skip ci] Updated translations via Crowdin 2018-09-11 18:55:32 +00:00
locale_hu-HU.ini [skip ci] Updated translations via Crowdin 2018-08-29 13:46:42 +00:00
locale_id-ID.ini [skip ci] Updated translations via Crowdin 2018-09-11 18:55:32 +00:00
locale_it-IT.ini [skip ci] Updated translations via Crowdin 2018-09-11 18:55:32 +00:00
locale_ja-JP.ini [skip ci] Updated translations via Crowdin 2018-09-12 14:47:24 +00:00
locale_ko-KR.ini [skip ci] Updated translations via Crowdin 2018-08-29 13:46:42 +00:00
locale_lt-LT.ini [skip ci] Updated translations via Crowdin 2018-08-06 11:54:16 +00:00
locale_lv-LV.ini [skip ci] Updated translations via Crowdin 2018-09-11 18:55:32 +00:00
locale_nb-NO.ini [skip ci] Updated translations via Crowdin 2018-08-06 11:54:16 +00:00
locale_nl-NL.ini [skip ci] Updated translations via Crowdin 2018-09-11 18:55:32 +00:00
locale_nn-NO.ini [skip ci] Updated translations via Crowdin 2018-08-06 11:54:16 +00:00
locale_no-NO.ini [skip ci] Updated translations via Crowdin 2018-08-06 11:54:16 +00:00
locale_pl-PL.ini [skip ci] Updated translations via Crowdin 2018-09-11 18:55:32 +00:00
locale_pt-BR.ini [skip ci] Updated translations via Crowdin 2018-09-11 18:55:32 +00:00
locale_ru-RU.ini [skip ci] Updated translations via Crowdin 2018-09-11 18:55:32 +00:00
locale_ru-UA.ini [skip ci] Updated translations via Crowdin 2018-05-19 14:58:24 +00:00
locale_sr-SP.ini [skip ci] Updated translations via Crowdin 2018-08-29 13:46:42 +00:00
locale_sv-SE.ini [skip ci] Updated translations via Crowdin 2018-09-11 18:55:32 +00:00
locale_tr-TR.ini [skip ci] Updated translations via Crowdin 2018-08-29 13:46:42 +00:00
locale_uk-UA.ini [skip ci] Updated translations via Crowdin 2018-09-11 18:55:32 +00:00
locale_zh-CN.ini [skip ci] Updated translations via Crowdin 2018-09-11 18:55:32 +00:00
locale_zh-HK.ini [skip ci] Updated translations via Crowdin 2018-08-29 13:46:42 +00:00
locale_zh-TW.ini [skip ci] Updated translations via Crowdin 2018-09-11 18:55:32 +00:00
TRANSLATORS Minor fix to TRANSLATORS (#4836) 2018-09-01 00:22:11 +03:00