skip token auth on password reset request
This commit is contained in:
@@ -19,7 +19,8 @@ func authSkipper(ctx echo.Context) bool {
|
||||
strings.Contains(path, "/v1/notification/ws") ||
|
||||
strings.HasPrefix(path, "/v1/lyfthook") ||
|
||||
strings.HasPrefix(path, "/v1/docs") ||
|
||||
strings.HasPrefix(path, "/v1/selfregister"))
|
||||
strings.HasPrefix(path, "/v1/selfregister") ||
|
||||
strings.HasPrefix(path, "/v1/passwordreset"))
|
||||
}
|
||||
|
||||
// appSkipper is the default skipper for the application routes
|
||||
|
||||
Reference in New Issue
Block a user