docs: add caveat description
This commit is contained in:
1 parent
b1422bc97e
commit
bbfd3e5171
11 files changed
+212
-152
No files matched your search
@@ -47,6 +47,7 @@ func GetSessionID(c echo.Context) string {
|
||||
|
||||
// GetSessionChallenge returns the session challenge from the cookies.
|
||||
func GetSessionChallenge(c echo.Context) (*protocol.URLEncodedBase64, error) {
|
||||
// TODO: Implement a way to regenerate the challenge if it is invalid.
|
||||
chal := new(protocol.URLEncodedBase64)
|
||||
// Attempt to read the session challenge from the "session" cookie
|
||||
sessionChal, err := ReadCookie(c, CookieKeySessionChal)
|
||||
|
||||
Reference in new issue
Block a user