@@ -484,7 +484,7 @@ func (controller *Controller) UpdateUserByPassword(c echo.Context) error {
484484 if is_auth_type == - 1 {
485485 log .Warn ("for GET to update user by password without no-session [@route: /login]" )
486486 middleware .SetFlashError (c , "login process failed!" )
487- log .Warn ("END request method GET for read user: [-]failure" )
487+ log .Warn ("END request method GET for update user by password : [-]failure" )
488488 return c .Redirect (http .StatusFound , "/login" )
489489 }
490490
@@ -498,9 +498,9 @@ func (controller *Controller) UpdateUserByPassword(c echo.Context) error {
498498 user , err := models.User {}.FirstUserByID (controller .DB , id )
499499 if err != nil {
500500 log .Warnf (
501- "for GET to update user without models.User{}.FirstByID() errors: `%v`" , err ,
501+ "for GET to update user by password without models.User{}.FirstByID() errors: `%v`" , err ,
502502 )
503- log .Warn ("END request method GET for update user: [-]failure" )
503+ log .Warn ("END request method GET for update user by password : [-]failure" )
504504 // HTTP response status: 404 Not Found
505505 return c .HTML (http .StatusNotFound , err .Error ())
506506 }
@@ -676,7 +676,7 @@ func (controller *Controller) DeleteUser(c echo.Context) error {
676676 log .Warnf (
677677 "for GET to delete without models.User{}.FirstByIDAndUsername() errors: `%v`" , err ,
678678 )
679- log .Warn ("END request method GET for delete: [-]failure" )
679+ log .Warn ("END request method GET for delete user : [-]failure" )
680680 // HTTP response status: 403 Forbidden
681681 return c .HTML (http .StatusForbidden , err .Error ())
682682 }
0 commit comments