forgejo/modules
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
..
auth Force user to change password (#4489) 2018-09-13 15:04:25 +03:00
avatar Use assert in legacy unit tests (#867) 2017-02-08 14:29:07 +08:00
base Symlink icons (#1416) (#3826) 2018-05-01 10:04:36 +03:00
cache Fix memcache support when value is returned as string always (#2924) 2017-11-16 15:06:34 +08:00
context Force user to change password (#4489) 2018-09-13 15:04:25 +03:00
cron Add branch overiew page (#2108) 2017-10-26 08:49:16 +08:00
generate Implements generator cli for secrets (#3531) 2018-02-18 20:14:37 +02:00
highlight No highlighting for .txt files (#1922) 2017-06-09 19:39:16 -05:00
httplib Add sensitive headers (#3429) 2018-01-31 00:09:16 +02:00
indexer Global code search support (#3664) 2018-03-16 22:04:33 +08:00
lfs add valid for lfs oid (#4461) 2018-07-19 11:39:19 -04:00
log Fix lint errors (#2547) 2017-09-19 11:08:30 +03:00
mailer Add support for extra sendmail arguments (#2731) 2017-10-25 22:27:25 +03:00
markup Upgrade images in .drone.yml to more recent versions (#4819) 2018-08-29 09:43:58 -04:00
minwinsvc Fix Git hooks not being executed on Windows when running as a service (#1149) 2017-03-09 09:27:43 +08:00
notification Notification - Step 1 (#523) 2016-12-31 00:44:54 +08:00
options Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
pprof cmd/serve: pprof cpu and memory profile dumps to disk (#4560) 2018-08-07 14:49:18 -04:00
private improve protected branch to add whitelist support (#2451) 2017-09-14 16:16:22 +08:00
process Fix run command race (#1470) 2017-11-13 22:51:45 +08:00
public Enable caching on assets and avatars (#3376) 2018-02-04 00:37:05 +02:00
recaptcha Add Recaptcha functionality to Gitea (#4044) 2018-07-05 00:13:05 -04:00
search Global code search support (#3664) 2018-03-16 22:04:33 +08:00
setting Fix: Let's Encrypt configuration settings (#4911) 2018-09-12 00:06:44 -04:00
ssh Configurable SSH key exchange algorithm and MAC suite (#2806) 2017-11-02 23:26:41 +08:00
sync Fix status table race condition (#1835) 2017-05-31 16:57:17 +08:00
templates Add push webhook support for mirrored repositories (#4127) 2018-09-06 22:06:09 -04:00
test API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
user
util Fix open redirect vulnerability on login screen (#4312) 2018-06-26 22:45:18 +08:00
validation Improve URL validation for external wiki and external issues (#4710) 2018-08-15 09:29:37 +03:00