mirror of
https://codeberg.org/scip/ephemerup.git
synced 2025-12-18 13:01:13 +01:00
changes:
- added working upload formm which can also create an upload
- cleaned up auth.go
- enhanced server/SetupAuthStore() to also look up form ids
- added form template (put into .go file by Makefile
This commit is contained in:
@@ -55,6 +55,11 @@ type Response struct {
|
||||
}
|
||||
|
||||
type Form struct {
|
||||
// Note the dual use of the Id: it will be used as onetime api key
|
||||
// from generated upload forms and stored in the session store so
|
||||
// that the upload handler is able to check if the form object has
|
||||
// to be deleted immediately (if its expire field has been set to
|
||||
// asap)
|
||||
Id string `json:"id"`
|
||||
Expire string `json:"expire"`
|
||||
Description string `json:"description"`
|
||||
|
||||
Reference in New Issue
Block a user