From 3927f267d63939a5dc3d37f81a006c8f9a65e8ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20M=C3=BCller?= Date: Wed, 16 Feb 2022 16:50:07 +0100 Subject: [PATCH 1/3] Fix site accounts endpoints --- pkg/siteacc/endpoints.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/siteacc/endpoints.go b/pkg/siteacc/endpoints.go index 23fd36197c..50c4fd5419 100644 --- a/pkg/siteacc/endpoints.go +++ b/pkg/siteacc/endpoints.go @@ -82,8 +82,8 @@ func getEndpoints() []endpoint { // Login endpoints {config.EndpointLogin, callMethodEndpoint, createMethodCallbacks(nil, handleLogin), true}, {config.EndpointLogout, callMethodEndpoint, createMethodCallbacks(handleLogout, nil), true}, - {config.EndpointResetPassword, callMethodEndpoint, createMethodCallbacks(nil, handleResetPassword), false}, - {config.EndpointContact, callMethodEndpoint, createMethodCallbacks(nil, handleContact), false}, + {config.EndpointResetPassword, callMethodEndpoint, createMethodCallbacks(nil, handleResetPassword), true}, + {config.EndpointContact, callMethodEndpoint, createMethodCallbacks(nil, handleContact), true}, // Authentication endpoints {config.EndpointVerifyUserToken, callMethodEndpoint, createMethodCallbacks(handleVerifyUserToken, nil), true}, // Authorization endpoints From 029ef822accf24bf3d6db56a42b76d6d9d9a2dd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20M=C3=BCller?= Date: Wed, 16 Feb 2022 16:51:53 +0100 Subject: [PATCH 2/3] Add changelog --- changelog/unreleased/siteacc-fix.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 changelog/unreleased/siteacc-fix.md diff --git a/changelog/unreleased/siteacc-fix.md b/changelog/unreleased/siteacc-fix.md new file mode 100644 index 0000000000..4fd2ffb052 --- /dev/null +++ b/changelog/unreleased/siteacc-fix.md @@ -0,0 +1,8 @@ +Enhancement: Site accounts improvements + +This PR improves the site accounts: +- Removed/hid API key stuff +- Added quick links to the main panel +- Made alert notifications mandatory + +https://github.com/cs3org/reva/pull/2549 From f83d9e7c1af5da6118882fba64d30279e6481864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20M=C3=BCller?= Date: Wed, 16 Feb 2022 16:52:03 +0100 Subject: [PATCH 3/3] Add changelog --- changelog/unreleased/siteacc-fix.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/changelog/unreleased/siteacc-fix.md b/changelog/unreleased/siteacc-fix.md index 4fd2ffb052..3f5a4d8866 100644 --- a/changelog/unreleased/siteacc-fix.md +++ b/changelog/unreleased/siteacc-fix.md @@ -1,8 +1,5 @@ -Enhancement: Site accounts improvements +Bugfix: Fix site accounts endpoints -This PR improves the site accounts: -- Removed/hid API key stuff -- Added quick links to the main panel -- Made alert notifications mandatory +This PR fixes small bugs in the site accounts endpoints. -https://github.com/cs3org/reva/pull/2549 +https://github.com/cs3org/reva/pull/2555