We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfc0de1 commit fbe3223Copy full SHA for fbe3223
session_rpcserver.go
@@ -323,7 +323,9 @@ func (s *sessionRpcServer) resumeSession(sess *session.Session) error {
323
// For custom session types, we use the caveats and permissions that
324
// were persisted on session creation.
325
case session.TypeMacaroonCustom:
326
- permissions = sess.MacaroonRecipe.Permissions
+ if sess.MacaroonRecipe != nil {
327
+ permissions = sess.MacaroonRecipe.Permissions
328
+ }
329
330
// No other types are currently supported.
331
default:
0 commit comments