bench-forgejo/templates/user/auth
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
..
activate.tmpl Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00
change_passwd.tmpl Force user to change password (#4489) 2018-09-13 15:04:25 +03:00
change_passwd_inner.tmpl Force user to change password (#4489) 2018-09-13 15:04:25 +03:00
finalize_openid.tmpl Some small template fixes (#3820) 2018-04-20 08:25:15 +08:00
forgot_passwd.tmpl Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00
link_account.tmpl Additional OAuth2 providers (#1010) 2017-05-01 21:26:53 +08:00
prohibit_login.tmpl #2937 able to prohibit user login 2016-07-16 10:22:16 +08:00
reset_passwd.tmpl Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00
signin.tmpl Login via OpenID-2.0 (#618) 2017-03-17 15:16:08 +01:00
signin_inner.tmpl Center-aligned login topbar (#1880) 2017-06-06 15:05:06 +08:00
signin_navbar.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
signin_openid.tmpl Center-aligned login topbar (#1880) 2017-06-06 15:05:06 +08:00
signup.tmpl Oauth2 consumer (#679) 2017-02-22 08:14:37 +01:00
signup_inner.tmpl Add Recaptcha functionality to Gitea (#4044) 2018-07-05 00:13:05 -04:00
signup_openid_connect.tmpl Use readonly input form to show the validated OpenID URI (#1308) 2017-03-20 09:50:24 +08:00
signup_openid_navbar.tmpl Login via OpenID-2.0 (#618) 2017-03-17 15:16:08 +01:00
signup_openid_register.tmpl Add Recaptcha functionality to Gitea (#4044) 2018-07-05 00:13:05 -04:00
twofa.tmpl Change two factor code entry box from text to number (#1733) 2017-05-16 15:30:20 +08:00
twofa_scratch.tmpl Autofocus on 2fa passcode fields (#1460) 2017-04-07 06:07:37 -07:00
u2f.tmpl Add support for FIDO U2F (#3971) 2018-05-19 17:12:37 +03:00
u2f_error.tmpl Add support for FIDO U2F (#3971) 2018-05-19 17:12:37 +03:00