gitea/models/migrations
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
..
migrations.go Force user to change password (#4489) 2018-09-13 15:04:25 +03:00
v13.go
v14.go
v15.go
v16.go
v17.go
v18.go
v19.go
v20.go
v21.go
v22.go
v23.go
v24.go
v25.go
v26.go
v27.go
v28.go
v29.go
v30.go
v31.go
v32.go
v33.go
v34.go
v35.go
v36.go
v37.go
v38.go
v39.go
v40.go
v41.go
v45.go
v46.go
v47.go
v48.go
v49.go
v50.go
v51.go
v52.go
v53.go
v54.go
v55.go
v56.go
v57.go
v58.go
v59.go
v60.go
v61.go
v62.go
v63.go
v64.go
v65.go
v66.go
v67.go
v68.go
v69.go
v70.go
v71.go
v72.go
v73.go Force user to change password (#4489) 2018-09-13 15:04:25 +03:00