Admin user can't login

I config the admin user:

      - DRONE_ADMIN=fanux,fanux

but can’t login.


time=“2017-09-28T07:45:30Z” level=error msg=“cannot authenticate user. unexpected end of JSON input”

This error tells me the API requests to your remote system (e.g. github) is not functioning properly. This error message specifically tells me the response is malformed.

I regist the user in gogs, and fixed it。 administrator can’t see all the repos, so if I wan’t to trust a repo, I must add administrator to the repo collaborator?

Had a slightly different issue when adding myself as administrator after I already signed in as a normal user.
I manually deleted my self from the PG-DB and then logged in after I’m admin in the config.
All problems were gone.