MW placeholder
This commit is contained in:
parent
82ea13a104
commit
0f6fd00604
2 changed files with 12 additions and 0 deletions
|
|
@ -1 +1,11 @@
|
|||
package router
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
|
||||
func authMW() gin.HandlerFunc {
|
||||
return func(c *gin.Context) {
|
||||
c.Set("userUuid", "019caeab-aa81-7f09-a220-d7e675300638") //TODO placeholder for dev purposes
|
||||
|
||||
c.Next()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue