gitea/routers/api/v1/admin
zeripath 2051f850ef
Ensure complexity, minlength and ispwned are checked on password setting () ()
Backport 

It appears that there are several places that password length, complexity and ispwned
are not currently been checked when changing passwords. This PR adds these.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
..
adopt.go Handle and propagate errors when checking if paths are Dirs, Files or Exist ()
cron.go Add cron running API ()
org.go List limited and private orgs if authenticated on API () ()
repo.go Move macaron to chi ()
user.go Ensure complexity, minlength and ispwned are checked on password setting () ()