Skip to content

Commit

Permalink
Fixed class-forge by updating sentralify version and changing timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mario872 committed Aug 21, 2024
1 parent f84de6a commit e7d7a28
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM python:3.11-slim-bullseye
LABEL maintainer="[email protected]"
LABEL version="0.34"
LABEL version="0.35"
LABEL description="This is the docker image for Class Forge"

ENV IN_DOCKER=true
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def finish_login():
'photo_path': f'user/{data["username"]}"/photo.png'
}

if sentralify(user, check_login=True):
if sentralify(user, check_login=True, timeout=10):
with open(f'users/{user["username"]}/config.json', 'w') as user_config:
json.dump(encrypted_user, user_config)

Expand Down
1 change: 1 addition & 0 deletions templates/details.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ along with this program. If not, see https://www.gnu.org/licenses/gpl-3.0.html.
</tr>
</table>
{% endfor %}
<p>This is obviously broken.</p>
</div>
<!--
<div class="m-6 p-2 border-2 border-blue-600">
Expand Down
2 changes: 1 addition & 1 deletion templates/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.34
0.35

0 comments on commit e7d7a28

Please sign in to comment.