Skip to content

refactor: remove redundant profile validation from api_webui.go - #222

Merged
Alonza0314 merged 1 commit into
free5gc:mainfrom
Zach1113:refactor/remove-redundant-profile-validation
Jul 31, 2026
Merged

Alonza0314 merged 1 commit into
free5gc:mainfrom
Zach1113:refactor/remove-redundant-profile-validation

Conversation

@Zach1113

Copy link
Copy Markdown
Contributor

A refactor for issue free5gc/free5gc#1072

Removed redundant profile validation from api_webui.go

  • Removed GetTenantId check from GetProfiles.
  • Removed ParseJWT check from PostProfile.
  • Adjusted variable scoping.

Validation now relies on AuthMiddleware.

@d11nn

d11nn commented Jul 30, 2026

Copy link
Copy Markdown

@Alonza0314 LGTM

@Alonza0314
Alonza0314 merged commit 8ba34fd into free5gc:main Jul 31, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants