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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user