Error401HTTP
(w http.ResponseWriter, r *http.Request, e error)
| 99 | |
| 100 | // Error401HTTP |
| 101 | func Error401HTTP(w http.ResponseWriter, r *http.Request, e error) { |
| 102 | cancelClearSetError(w, r, e) |
| 103 | renderError(w, e.Error(), http.StatusUnauthorized) |
| 104 | } |
| 105 | |
| 106 | // Error403 Forbidden |
| 107 | // if there's an error during /auth or if they don't pass validation in /auth |
no test coverage detected