Commit 53ad2d31 authored by ale's avatar ale
Browse files

Fix action for /api/resource/email/add_alias

Previously it was deleting aliases instead of adding them.
parent 0bb1804b
Pipeline #1411 passed with stages
in 1 minute and 28 seconds
......@@ -190,7 +190,7 @@ func (s *AccountServer) Handler() http.Handler {
h.HandleFunc("/api/resource/create", s.withTx(s.handleCreateResources))
h.HandleFunc("/api/resource/move", s.withTx(s.handleMoveResource))
h.HandleFunc("/api/resource/reset_password", s.withTx(s.handleResetResourcePassword))
h.HandleFunc("/api/resource/email/add_alias", s.withTx(s.handleDeleteEmailAlias))
h.HandleFunc("/api/resource/email/add_alias", s.withTx(s.handleAddEmailAlias))
h.HandleFunc("/api/resource/email/delete_alias", s.withTx(s.handleDeleteEmailAlias))
h.HandleFunc("/api/recover_password", s.withTx(s.handleRecoverPassword))
return h
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment