pallets-eco/flask-principal

self.use_sessions should be self._use_sessions

Closed this issue · 1 comments

One would think that setting principals.use_session to True would enable session use at any time.

But, since it is only checked during init_app, this is not the case.

One might think that but it does this is not the case and is not specified or documented anywhere. This attribute is used in the init_app method wich is useful when using an application factory pattern.