You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
6 years ago
..
activate.tmpl Don't warn users about *every* dirty form (#3707) 6 years ago
change_passwd.tmpl Force user to change password (#4489) 6 years ago
change_passwd_inner.tmpl Force user to change password (#4489) 6 years ago
finalize_openid.tmpl Some small template fixes (#3820) 6 years ago
forgot_passwd.tmpl Don't warn users about *every* dirty form (#3707) 6 years ago
link_account.tmpl Additional OAuth2 providers (#1010) 7 years ago
prohibit_login.tmpl #2937 able to prohibit user login 8 years ago
reset_passwd.tmpl Don't warn users about *every* dirty form (#3707) 6 years ago
signin.tmpl Login via OpenID-2.0 (#618) 7 years ago
signin_inner.tmpl Center-aligned login topbar (#1880) 7 years ago
signin_navbar.tmpl Responsive view (#2750) 7 years ago
signin_openid.tmpl Center-aligned login topbar (#1880) 7 years ago
signup.tmpl Oauth2 consumer (#679) 7 years ago
signup_inner.tmpl Add Recaptcha functionality to Gitea (#4044) 6 years ago
signup_openid_connect.tmpl Use readonly input form to show the validated OpenID URI (#1308) 7 years ago
signup_openid_navbar.tmpl Login via OpenID-2.0 (#618) 7 years ago
signup_openid_register.tmpl Add Recaptcha functionality to Gitea (#4044) 6 years ago
twofa.tmpl Change two factor code entry box from text to number (#1733) 7 years ago
twofa_scratch.tmpl Autofocus on 2fa passcode fields (#1460) 7 years ago
u2f.tmpl Add support for FIDO U2F (#3971) 6 years ago
u2f_error.tmpl Add support for FIDO U2F (#3971) 6 years ago