Implement deletion of applications

This commit is contained in:
eikendev 2020-07-26 22:23:13 +02:00
parent 653e57fe03
commit 18d11677ac
No known key found for this signature in database
GPG key ID: A1BDB1B28C8EF694
7 changed files with 80 additions and 9 deletions

View file

@ -27,7 +27,7 @@ func (h *UserHandler) userExists(name string) bool {
// CreateUser creates a new user.
func (h *UserHandler) CreateUser(ctx *gin.Context) {
externalUser := model.ExternalUserWithCredentials{}
var externalUser model.ExternalUserWithCredentials
if success := successOrAbort(ctx, http.StatusBadRequest, ctx.Bind(&externalUser)); !success {
return