Skip to content

Commit

Permalink
test: import jwt (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
chanhihi authored Aug 1, 2023
1 parent 9fac150 commit 4e3315f
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion myforum/html/board.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/homebrew/bin/python3
#!/Users/chanheki/.brew/bin/python3.11

import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion myforum/html/boards.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/homebrew/bin/python3
#!/Users/chanheki/.brew/bin/python3.11

import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion myforum/html/deleteBoardService.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/homebrew/bin/python3
#!/Users/chanheki/.brew/bin/python3.11

import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion myforum/html/login.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/homebrew/bin/python3
#!/Users/chanheki/.brew/bin/python3.11

import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion myforum/html/loginService.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/homebrew/bin/python3
#!/Users/chanheki/.brew/bin/python3.11

import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion myforum/html/logoutService.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/homebrew/bin/python3
#!/Users/chanheki/.brew/bin/python3.11

import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion myforum/html/nav.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/homebrew/bin/python3
#!/Users/chanheki/.brew/bin/python3.11

import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion myforum/html/postBoardService.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/homebrew/bin/python3
#!/Users/chanheki/.brew/bin/python3.11

import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion myforum/html/sign_upService.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/homebrew/bin/python3
#!/Users/chanheki/.brew/bin/python3.11

import os
import sys
Expand Down
10 changes: 8 additions & 2 deletions myforum/secure_cgi/jwt_cookie.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import jwt
import datetime
#!/Users/chanheki/.brew/bin/python3.11

import os
import sys
sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
sys.path.append("/Users/${HOME}/.brew/lib/python3.11/site-packages/pip")
sys.path.append("/Users/${HOME}/.brew/lib/python3.11/site-packages/")

import jwt
import datetime

class JwtCookie:
def __init__(self):
Expand Down

0 comments on commit 4e3315f

Please sign in to comment.