updated response messages and rebuilt ui/dist

This commit is contained in:
Gani Georgiev committed 2022-09-02 10:00:36 +03:00
1 parent 06a7f1af05
commit df1a947b61
17 files changed
+690 -688

No files matched your search

+1 -1
View File
@@ -505,7 +505,7 @@ func (api *userApi) unlinkExternalAuth(c echo.Context) error {
handlerErr := api.app.OnUserBeforeUnlinkExternalAuthRequest().Trigger(event, func(e *core.UserUnlinkExternalAuthEvent) error {
if err := api.app.Dao().DeleteExternalAuth(externalAuth); err != nil {
return rest.NewBadRequestError("Cannot unlink the external auth reference. Make sure that the user has other linked auth providers OR has an email address.", err)
return rest.NewBadRequestError("Cannot unlink the external auth provider. Make sure that the user has other linked auth providers OR has an email address.", err)
}
return e.HttpContext.NoContent(http.StatusNoContent)