Closed rrickgauer closed 2 years ago
Using the RequestGlobals class is kind of useless since flask offers the flask.g object. It is essentially the same thing.
RequestGlobals
flask.g
So because of this. I can remove this.
It get's created in the security module. So all I have to do is set the values in flask.g instead of the request globals object.
security
Using the
RequestGlobals
class is kind of useless since flask offers theflask.g
object. It is essentially the same thing.So because of this. I can remove this.
It get's created in the
security
module. So all I have to do is set the values in flask.g instead of the request globals object.