fix import path, fix #1782
This commit is contained in:
parent
a749e6adcf
commit
932dbccb67
23 changed files with 55 additions and 53 deletions
|
@ -11,7 +11,7 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/Unknwon/com"
|
||||
"github.com/Unknwon/macaron"
|
||||
"gopkg.in/macaron.v1"
|
||||
|
||||
"github.com/gogits/gogs/models"
|
||||
"github.com/gogits/gogs/models/cron"
|
||||
|
|
|
@ -13,9 +13,9 @@ import (
|
|||
"strings"
|
||||
|
||||
"github.com/Unknwon/com"
|
||||
"github.com/Unknwon/macaron"
|
||||
"github.com/go-xorm/xorm"
|
||||
"gopkg.in/ini.v1"
|
||||
"gopkg.in/macaron.v1"
|
||||
|
||||
"github.com/gogits/gogs/models"
|
||||
"github.com/gogits/gogs/models/cron"
|
||||
|
|
|
@ -7,7 +7,7 @@ package user
|
|||
import (
|
||||
"net/url"
|
||||
|
||||
"github.com/macaron-contrib/captcha"
|
||||
"github.com/go-macaron/captcha"
|
||||
|
||||
"github.com/gogits/gogs/models"
|
||||
"github.com/gogits/gogs/modules/auth"
|
||||
|
|
|
@ -299,7 +299,7 @@ func ShowSSHKeys(ctx *middleware.Context, uid int64) {
|
|||
buf.WriteString(keys[i].OmitEmail())
|
||||
buf.WriteString("\n")
|
||||
}
|
||||
ctx.RenderData(200, buf.Bytes())
|
||||
ctx.PlainText(200, buf.Bytes())
|
||||
}
|
||||
|
||||
func Profile(ctx *middleware.Context) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue