mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-15 12:55:41 +01:00
fix (auth): signature change
This commit is contained in:
parent
aa432414f3
commit
e827e8149b
1 changed files with 2 additions and 1 deletions
|
|
@ -37,12 +37,13 @@ func (this Saml) Setup() Form {
|
|||
}
|
||||
}
|
||||
|
||||
func (this Saml) EntryPoint(req *http.Request, res http.ResponseWriter) {
|
||||
func (this Saml) EntryPoint(idpParams map[string]string, req *http.Request, res http.ResponseWriter) error {
|
||||
http.Redirect(
|
||||
res, req,
|
||||
"/?error=saml is available for enterprise customer, see https://www.filestash.app/pricing/?modal=enterprise",
|
||||
http.StatusTemporaryRedirect,
|
||||
)
|
||||
return nil
|
||||
}
|
||||
|
||||
func (this Saml) Callback(formData map[string]string, idpParams map[string]string, res http.ResponseWriter) (map[string]string, error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue