]> source.dussan.org Git - gitea.git/commit
Use native go method to get current user rather than environment variable (#4930)
authorSagePtr <sageptr@gmail.com>
Thu, 18 Oct 2018 07:08:20 +0000 (09:08 +0200)
committerLunny Xiao <xiaolunwen@gmail.com>
Thu, 18 Oct 2018 07:08:20 +0000 (15:08 +0800)
commiteb0c848f5be5f9ce6fdb29bc13641d207a93b19d
treee0497cfbee6f8313cf062946fe7a072195dcf46a
parent637c5fe1eb8ab245b547e127f06257558fbb4636
Use native go method to get current user rather than environment variable (#4930)

* Use native go method to get current user rather than environment var

* Use t.Skip instead of return in test
modules/user/user.go
modules/user/user_test.go