Add linter whitespace (#531)

This commit is contained in:
Lukas
2021-11-24 01:31:11 +01:00
committed by GitHub
parent 57db3227ab
commit 25bf91bd37
37 changed files with 1 additions and 71 deletions

View File

@@ -71,7 +71,6 @@ func HandleAuth(c *gin.Context) {
// get the user from the database
u, err := store_.GetUserLogin(tmpuser.Login)
if err != nil {
// if self-registration is disabled we should return a not authorized error
if !config.Open && !config.IsAdmin(tmpuser) {
log.Error().Msgf("cannot register %s. registration closed", tmpuser.Login)