syntax fixes
This commit is contained in:
parent
8e748aaa90
commit
1ce33aa89a
13 changed files with 45 additions and 43 deletions
|
|
@ -246,7 +246,7 @@ func (c *Context) LogSetCookie(msg string, err error) {
|
|||
c.SetCookie(nil, 0)
|
||||
}
|
||||
|
||||
func (c *Context) Login(u core.User, remember string) {
|
||||
func (c *Context) Login(u *core.User, remember string) {
|
||||
var d time.Duration
|
||||
if remember != "" {
|
||||
d = day * 7
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue