forgejo/routers/api/v1
Andrew Bezold bc05ddc0eb
Redirect on changed user and org name (#11649)
* Add redirect for user

* Add redirect for orgs

* Add user redirect test

* Appease linter

* Add comment to DeleteUserRedirect function

* Fix locale changes

* Fix GetUserByParams

* Fix orgAssignment

* Remove debug logging

* Add redirect prompt

* Dont Export DeleteUserRedirect & only use it within a session

* Unexport newUserRedirect

* cleanup

* Fix & Dedub API code

* Format Template

* Add Migration & rm dublicat

* Refactor: unexport newRepoRedirect() & rm dedub del exec

* if this fails we'll need to re-rename the user directory

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-01-24 16:23:05 +01:00
..
admin [Refactor] Passwort Hash/Set (#14282) 2021-01-10 20:05:18 +02:00
misc
notify
org
repo Enhance Ghost comment mitigation Settings (#14392) 2021-01-21 21:56:19 -05:00
settings Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
swagger
user Redirect on changed user and org name (#11649) 2021-01-24 16:23:05 +01:00
utils migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
api.go Redirect on changed user and org name (#11649) 2021-01-24 16:23:05 +01:00