Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ai3
accountserver
Commits
53ad2d31
Commit
53ad2d31
authored
Oct 28, 2018
by
ale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
server/server.go
server/server.go
+1
-1
No files found.
server/server.go
View file @
53ad2d31
...
...
@@ -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
.
handle
Delete
EmailAlias
))
h
.
HandleFunc
(
"/api/resource/email/add_alias"
,
s
.
withTx
(
s
.
handle
Add
EmailAlias
))
h
.
HandleFunc
(
"/api/resource/email/delete_alias"
,
s
.
withTx
(
s
.
handleDeleteEmailAlias
))
h
.
HandleFunc
(
"/api/recover_password"
,
s
.
withTx
(
s
.
handleRecoverPassword
))
return
h
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment