fix InitCommand() #285
Merged
6543
merged 7 commits from noerw/tea:issue-200-initcommand
into master
2 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'noerw/tea:issue-200-initcommand'
Deleting a branch is permanent. It CANNOT be undone. Continue?
// Copyright 2020 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
is there a reason so split this up into login_tasks.go
do we have some sort of rule to know witch func is going into this file or login.go ?
I split the files because I never found what I was looking for.
login.go
holds theLogin
struct and all its attached methodslogin_tasks.go
is what later should go intomodules/tasks/login.go
(ie. notLogin
methods(I'm open to merging the files again if you don't want to move login_tasks into the tasks module once #158 is fixed)
I agree, e.g. Create-/Generate- Login can go into task ...
but GetDefaultLogin and GetLoginByName is definetly something I expect to be in the config module ...
16034f60e0
to580c55d751
2 years ago@noerw I created
580c55d751
based on #285.So I'll need your OK too ..
@6543 yeah sounds good :) thanks
7e191eb18b
into master 2 years ago7e191eb18b
.