Skip to content

Commit

Permalink
fix logout, larger textareas
Browse files Browse the repository at this point in the history
  • Loading branch information
joschahenningsen committed Jul 4, 2023
1 parent d785cdd commit c5e272b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/web/templates/form.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<label>
<span class="w-full">{{$field.Name.Tr $lang}}</span>
{{if eq $field.Type "textarea"}}
<textarea class="w-full" {{if $field.Required}} required{{end}}
<textarea class="w-full" rows="7" {{if $field.Required}} required{{end}}
name="{{$field.ID}}"></textarea>

{{else if eq $field.Type "select"}}
Expand Down
2 changes: 1 addition & 1 deletion pkg/middleware/saml.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func ConfigSaml(r *gin.Engine, c SamlConfig) {
// The idp will redirect back to /saml/slo after the user logged out.
r.GET("/saml/logout", func(c *gin.Context) {
c.SetCookie("jwt", "", -1, "/", "", true, true)
//todo
c.Redirect(http.StatusFound, "/")
})

// /shib is accessed after authentication with the IDP. The post body contains the encrypted SAMLResponse.
Expand Down

0 comments on commit c5e272b

Please sign in to comment.