Skip to content

Commit 3edbc35

Browse files
committed
Use correct godoc style
1 parent 035092a commit 3edbc35

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

enterprise/coderd/identityprovider/authorize.go

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,10 @@ func extractAuthorizeParams(r *http.Request, callbackURL *url.URL) (authorizePar
5050
return params, nil, nil
5151
}
5252

53-
/**
54-
* Authorize displays an HTML page for authorizing an application when the user
55-
* has first been redirected to this path and generates a code and redirects to
56-
* the app's callback URL after the user clicks "allow" on that page, which is
57-
* detected via the origin and referer headers.
58-
*/
53+
// Authorize displays an HTML page for authorizing an application when the user
54+
// has first been redirected to this path and generates a code and redirects to
55+
// the app's callback URL after the user clicks "allow" on that page, which is
56+
// detected via the origin and referer headers.
5957
func Authorize(db database.Store, accessURL *url.URL) http.HandlerFunc {
6058
handler := func(rw http.ResponseWriter, r *http.Request) {
6159
ctx := r.Context()

0 commit comments

Comments
 (0)