1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-04 10:47:20 +00:00

Update to version 10.5.0 | Read HISTORY.md for more

Former-commit-id: 41b1947aafa258d342bbf9d22baeecc946d198a4
This commit is contained in:
Gerasimos Maropoulos
2018-03-24 10:39:44 +02:00
parent 2955edd81c
commit 66d367b255
15 changed files with 434 additions and 248 deletions

View File

@@ -38,7 +38,7 @@ type UserController struct {
const userIDKey = "UserID"
func (c *UserController) getCurrentUserID() int64 {
userID, _ := c.Session.GetInt64Default(userIDKey, 0)
userID := c.Session.GetInt64Default(userIDKey, 0)
return userID
}