We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37571f7 commit 5b66f2bCopy full SHA for 5b66f2b
gateone/applications/terminal/plugins/example/example.py
@@ -97,7 +97,7 @@ def get(self):
97
# or 'upn' for short. Why? Because it might actually be a username
98
# plus a realm or domain name. e.g. user@REALM or [email protected]
99
username = user_dict['upn']
100
- session = user_dict['session'][:3] # Just the last three (for security)
+ session = user_dict['session'][:-3] # Just the last three (for security)
101
self.render(
102
example_template, # The path to a template file
103
bygolly=bygolly, # Just match up your template's {{whatever}} with
0 commit comments